我使用了Wikitude SDK v4,当我启动我的活动时,出现此错误。我的IDE的是Android 1.5工作室和targetSDK 22UnsatisfiedLinkError:dlopen失败:库未找到
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/data/xxxx/libarchitect.so" not found.
我有wikitudesdk.jar在我应用程序/库文件夹,这里是我的gradle这个文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "xxxx"
minSdkVersion 11
targetSdkVersion 23
versionCode 2
versionName "2"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/maven/commons-io/commons-io/pom.xml'
exclude 'META-INF/maven/commons-io/commons-io/pom.properties'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:gridlayout-v7:23.1.1'
...
}
最佳reguards
解压后的apk文件/ lib目录里面有什么?列出所有体系结构的所有库 – wilddev
在我的lib /目录中有:* arm64-v8a/libarchitect.so *,* armeabi-v7a/libarchitect.so *,* x86/libarchitect.so *。这就是全部 – frenchdev20
你的设备是什么? – wilddev