commons-io-2.4.jar显示为具有0个受支持设备的本机平台 [英] commons-io-2.4.jar is showing as Native Platform with 0 supported device
问题描述
我现在已经使用apache commons-io-2.4.jar开发了用于网络数据操作的APP 我想在Play商店中部署我的APK.
I Have developed an APP using apache commons-io-2.4.jar for network data operations now I want to deploy my APK in Play store.
我已经用commons-io-2.4.jar部署了我的应用程序版本1.0,然后它没有显示任何受支持的设备,并且 commons-io-2.4.jar 显示为 Native Platform . strong>,但是当我在1.3版本中删除了commons-io-2.4.jar时,它向我显示了支持9K的设备.
I have deployed my app version 1.0 with commons-io-2.4.jar then its not showing any supported device and commons-io-2.4.jar is showing as Native Platform but when i have remove this commons-io-2.4.jar in 1.3 version its showing me something 9K supported devices.
问题是我尚未定义任何NDK配置,但此jar文件仍显示为本机平台.
Problem is that i have not define any NDK configuration but this jar file still showing as native Platform.
任何人都可以帮助我在我的应用程序中将commons-io-2.4.jar部署到我的应用程序中.
can Anyone help me to deploy my App with commons-io-2.4.jar in my app.
任何帮助将不胜感激.
推荐答案
在此之后,我遇到了同样的问题.
Following up on this I had the same issue.
所有Android设备均与我的应用程序不兼容.消息是不支持必需的ABI-commons-io-2.4.jar"
All Android devices were incompatible with my app. The message was 'Doesn't support required ABI - commons-io-2.4.jar'
我必须在build.gradle中将commons.io从apache中排除.
I had to exclude the commons.io from apache in the build.gradle.
configurations.all {
resolutionStrategy {
exclude module: 'org.apache.commons.io'
}
}
然后包含我自己从
implementation files('libs/commons-io-2.6.jar')
确保将jar文件添加到libs目录中,然后右键单击添加为库".希望这对某人有帮助.
Make sure to add the jar file in libs directory and right click to 'Add as Library'. Hope this helps someone.
这篇关于commons-io-2.4.jar显示为具有0个受支持设备的本机平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!