Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libvideoeditor_jni.so"

Tags:

android

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.miimobileapp.miivdo-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libvideoeditor_jni.so"

like image 207
ACP Daya Avatar asked Sep 26 '22 21:09

ACP Daya


2 Answers

please try as below gradle settings:

gradle.properties:
android.useDeprecatedNdk=true

build.gradle
android {
    ...
    defaultConfig {
        ...
        ndk {
            abiFilters "armeabi-v7a", "x86", "armeabi"
        }
    }
}
like image 74
Andy.chen Avatar answered Oct 05 '22 22:10

Andy.chen


gradle.properties:

android.useDeprecatedNdk=false

build.gradle:

android {
    ...
    defaultConfig {
        ...
        ndk {
            abiFilters "armeabi-v7a", "x86", "armeabi"
        }
    }
}
like image 40
Isaram zuve Avatar answered Oct 05 '22 23:10

Isaram zuve