0

在 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

分析应用程序后发现该库文件显示问号。

我的代码有什么问题。

这就是它在应用程序分析器中的样子

4

1 回答 1

0

在这里找到解决方案:

指定问题的 PSpdf 指南

于 2020-01-23T13:29:34.283 回答