Apk 分析器在库 file.so 上显示问号
Apk Analyser showing question mark on library file.so
在 gradle 中添加 ABI 拆分代码:
android {
splits {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable true
// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for x86, armeabi-v7a, and mips.
reset()
// Specifies a list of ABIs that Gradle should create APKs for.
include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
// Specifies that we want to also generate a universal APK that includes all ABIs.
universalApk true
}
}
}
使用库时出错:
2020-01-22 16:41:06.442 6936-6936/clubwise.com.fitsense W/System.err: com.getkeepsafe.relinker.MissingLibraryException: lib/x86/libpspdfkit.so
app分析后发现库文件显示问号
我的代码有什么问题。
在此处找到解决方案:
在 gradle 中添加 ABI 拆分代码:
android {
splits {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable true
// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for x86, armeabi-v7a, and mips.
reset()
// Specifies a list of ABIs that Gradle should create APKs for.
include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
// Specifies that we want to also generate a universal APK that includes all ABIs.
universalApk true
}
}
}
使用库时出错:
2020-01-22 16:41:06.442 6936-6936/clubwise.com.fitsense W/System.err: com.getkeepsafe.relinker.MissingLibraryException: lib/x86/libpspdfkit.so
app分析后发现库文件显示问号
我的代码有什么问题。
在此处找到解决方案: