Apk分析器在库file.so上显示问号

问题描述 投票:0回答:1

在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

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

我的代码出了什么问题。

This is how it is looking in app anaylser

android apk abi pspdfkit
1个回答
0
投票

在这里找到解决方案:

PSPdf guide for the specified problem

© www.soinside.com 2019 - 2024. All rights reserved.