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 Platformstrong> 但是当我在 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 中从 apache 中排除 commons.io.
I had to exclude the commons.io from apache in the build.gradle.
configurations.all {
resolutionStrategy {
exclude module: 'org.apache.commons.io'
}
}
然后包括我自己从 mvnrepo 下载的 commons-io 2.6
Then include my own downloaded commons-io 2.6 from mvnrepo
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屋!