android commons-io-2.4.jar显示为本机平台,没有支持的设备

e0bqpujr  于 2022-12-16  发布在  Android
关注(0)|答案(1)|浏览(113)

x1c 0d1x我已经使用apache commons-io-2.4.jar开发了一个应用程序,用于网络数据操作,现在我想在Google的Play商店中部署我的APK。
我已经使用commons-io-2.4.jar部署了1.0版本的应用程序,然后它不显示任何支持的设备,commons-io-2.4.jar显示为本机平台,但当我在1.3版本中删除此commons-io-2.4.jar时,它显示了一些9 K支持的设备。
现在的问题是,我没有定义任何NDK配置,但这个jar文件仍然显示为本地平台。
任何人都可以帮助我部署我的应用程序与commons-io-2.4.jar在Play商店.
任何帮助都将不胜感激。

7fyelxc5

7fyelxc51#

跟进这一点,我有同样的问题。
所有Android设备都与我的应用程序不兼容。消息是“不支持所需的ABI - commons-io-2.4.jar”
我不得不commons.io在build. gradle中从Apache中排除www.example.com。

configurations.all {
    resolutionStrategy {
        exclude module: 'org.apache.commons.io'
    }
}

然后包括我自己从mvnrepo下载的commons-io 2.6

implementation files('libs/commons-io-2.6.jar')

确保将jar文件添加到libs目录中,然后右键单击“添加为库”。希望这对大家有所帮助。

相关问题