Android Studio
"nativeLibraryDirectories=[/data/app/-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find ""
问题原因:64位机器默认去查找arm64-v8a目录下是否有合适的64位库,如果没有则回去libs下查找32位的库,而fresco的draw-pipeline太完善了考虑了64位的机器所以他的arm64-v8a下有so库,
对应的系统就创建了lib64的文件,而不再去找32位的库。
解决方案:
Edit your file as follows:
android {
// rest of your app's logic
splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'arm64-v8a', 'armeabi-v7a', 'armeabi'
universalApk false
}
}
}
(*)注意上面的红色部分要删除掉最后看起来是这样:
android {
// rest of your app's logic
splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'armeabi-v7a', 'armeabi'
universalApk false
}
}
}
参考:/poe-blog/p/