{"action":"created","issue":{"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/4693","repository_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j","labels_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/4693/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/4693/comments","events_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/4693/events","html_url":"https://github.com/deeplearning4j/deeplearning4j/issues/4693","id":299444902,"number":4693,"title":"lib/arm64-v8a","user":{"login":"Yu-Hang","id":5137261,"avatar_url":"https://avatars3.githubusercontent.com/u/5137261?v=4","gravatar_id":"","url":"https://api.github.com/users/Yu-Hang","html_url":"https://github.com/Yu-Hang","followers_url":"https://api.github.com/users/Yu-Hang/followers","following_url":"https://api.github.com/users/Yu-Hang/following{/other_user}","gists_url":"https://api.github.com/users/Yu-Hang/gists{/gist_id}","starred_url":"https://api.github.com/users/Yu-Hang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yu-Hang/subscriptions","organizations_url":"https://api.github.com/users/Yu-Hang/orgs","repos_url":"https://api.github.com/users/Yu-Hang/repos","events_url":"https://api.github.com/users/Yu-Hang/events{/privacy}","received_events_url":"https://api.github.com/users/Yu-Hang/received_events","type":"User","site_admin":false},"labels":[{"id":67901001,"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/labels/Enhancement","name":"Enhancement","color":"000080","default":false}],"state":"closed","locked":false,"assignee":{"login":"saudet","id":3328023,"avatar_url":"https://avatars1.githubusercontent.com/u/3328023?v=4","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"assignees":[{"login":"saudet","id":3328023,"avatar_url":"https://avatars1.githubusercontent.com/u/3328023?v=4","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-02-22T17:40:41Z","updated_at":"2018-05-24T21:25:53Z","closed_at":"2018-02-26T09:29:45Z","author_association":"NONE","body":"#### Issue Description\r\n\r\nWhen encountered[ this issue](https://github.com/deeplearning4j/nd4j/issues/1922), the solution was to  make sure that your APK doesn't contain both lib/armeabi and lib/armeabi-v7a subdirectories( in my case is arm64-v8a). However, lacking \"arm64-v8a\" in my apk is making function \"filter2D\" from OpenCV extremely slow. \r\n\r\nIs there a way to tell gradle to look for DL4J dependencies from Maven rather than delete local lib folder \"arm64-v8a\"?\r\n\r\n```\r\n apply plugin: 'com.android.application'\r\n\r\nandroid {\r\n    compileSdkVersion 26\r\n    buildToolsVersion '26.0.2'\r\n\r\n    defaultConfig {\r\n        applicationId \"gov.nih.nlm.malaria_screener\"\r\n        minSdkVersion 19\r\n        targetSdkVersion 26\r\n        versionCode 6 // start from 1\r\n        versionName \"1.3.2\" // start from 1.0\r\n        multiDexEnabled true\r\n//        jackOptions { // for Java 1.8\r\n//            enabled true\r\n//        }\r\n//        ndk {\r\n//            // Tells Gradle to build outputs for the following ABIs and package\r\n//            // them into your APK.\r\n//            abiFilters 'x86', 'armeabi'\r\n//        }\r\n\r\n    }\r\n\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n\r\n//    lintOptions { // for unsigned release build error on Time and Date picker\r\n//        checkReleaseBuilds false\r\n//    }\r\n//    compileOptions {\r\n//        sourceCompatibility JavaVersion.VERSION_1_8\r\n//        targetCompatibility JavaVersion.VERSION_1_8\r\n//    }\r\n\r\n    packagingOptions {\r\n        exclude 'META-INF/DEPENDENCIES'\r\n        exclude 'META-INF/DEPENDENCIES.txt'\r\n        exclude 'META-INF/LICENSE'\r\n        exclude 'META-INF/LICENSE.txt'\r\n        exclude 'META-INF/license.txt'\r\n        exclude 'META-INF/NOTICE'\r\n        exclude 'META-INF/NOTICE.txt'\r\n        exclude 'META-INF/notice.txt'\r\n        exclude 'META-INF/INDEX.LIST'\r\n        exclude 'org/bytedeco/javacpp/windows-x86/msvcp120.dll'\r\n        exclude 'org/bytedeco/javacpp/windows-x86_64/msvcp120.dll'\r\n        exclude 'org/bytedeco/javacpp/windows-x86/msvcr120.dll'\r\n        exclude 'org/bytedeco/javacpp/windows-x86_64/msvcr120.dll'\r\n    }\r\n\r\n    dexOptions {\r\n        javaMaxHeapSize \"16g\"\r\n    }\r\n\r\n}\r\n\r\ndependencies {\r\n    compile files('libs/GraphView-4.0.1.jar')\r\n    compile files('libs/AndroidSwipeLayout-v1.1.8.jar')\r\n    compile 'com.dropbox.core:dropbox-core-sdk:2.0.1'\r\n    compile files('libs/dropbox-android-sdk-1.6.3.jar')\r\n    compile files('libs/json_simple-1.1.jar')\r\n    compile files('libs/eventbus-3.0.0.jar')\r\n    compile files('libs/glide-3.7.0.jar')\r\n    compile files('libs/flickrj-android-2.0.0.jar')\r\n//    compile 'org.deeplearning4j:deeplearning4j-core:0.7.2'\r\n//    compile 'org.nd4j:nd4j-native:0.7.2'\r\n//    compile 'org.nd4j:nd4j-native:0.7.2:android-x86'\r\n//    compile 'org.nd4j:nd4j-native:0.7.2:android-arm'\r\n    compile 'org.deeplearning4j:deeplearning4j-core:0.9.1'\r\n    compile 'org.nd4j:nd4j-native:0.9.1'\r\n    compile 'org.nd4j:nd4j-native:0.9.1:android-x86'\r\n    compile 'org.nd4j:nd4j-native:0.9.1:android-arm'\r\n    compile 'org.bytedeco.javacpp-presets:openblas:0.2.19-1.3:android-x86'\r\n    compile 'org.bytedeco.javacpp-presets:openblas:0.2.19-1.3:android-arm'\r\n    annotationProcessor 'org.projectlombok:lombok:1.16.16'\r\n    compile project(':mysql-connector-java-5.1.43-bin')\r\n    compile 'com.android.support:appcompat-v7:26.0.2'\r\n    compile 'com.android.support:design:26.0.2'\r\n    compile 'com.android.support:cardview-v7:26.0.2'\r\n    compile 'com.android.support:support-v13:26.0.2'\r\n    compile 'com.android.support:support-v4:26.0.2'\r\n    compile 'com.android.support:recyclerview-v7:26.0.2'\r\n    compile 'com.github.amlcurran.showcaseview:library:5.4.3'\r\n    compile 'com.android.support.constraint:constraint-layout:1.0.2'\r\n    compile project(':openCVLibrary340')\r\n}\r\n```\r\n\r\n\r\n\r\n#### Version Information\r\n\r\nPlease indicate relevant versions, including, if relevant:\r\n\r\n* Deeplearning4j version: 0.9.1\r\n* platform information: Andorid 3.0 (gradle 2.3.3)\r\n* OpenCV: 3.4.0\r\n\r\n#### Contributing\r\n\r\nIf you'd like to help us fix the issue by contributing some code, but would\r\nlike guidance or help in doing so, please mention it!\r\n"},"comment":{"url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/comments/391868306","html_url":"https://github.com/deeplearning4j/deeplearning4j/issues/4693#issuecomment-391868306","issue_url":"https://api.github.com/repos/deeplearning4j/deeplearning4j/issues/4693","id":391868306,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars1.githubusercontent.com/u/3328023?v=4","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T21:25:53Z","updated_at":"2018-05-24T21:25:53Z","author_association":"MEMBER","body":"It's not doing that for us, this is working fine: https://deeplearning4j.org/android"}}
{"actor":{"display_login":"saudet"}}