3

所以我正在制作一个解析 TMDB 信息的电影列表应用程序。

我正在尝试使用 IOUtils,因为它使解析变得非常容易,但是当我将编译命令放入 gradle 时,它​​会导致我无法在任何手机上安装我的应用程序。

这是毕业线:

compile 'org.apache.directory.studio:org.apache.commons.io:2.4'

这是我在 gradle 中出现该行时得到的错误日志:

$ adb shell pm install -t -r "/data/local/tmp/com.jeremy.movieslist"
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

$ adb shell pm uninstall com.jeremy.movieslist
Unknown failure (at android.os.Binder.execTransact(Binder.java:697))
Error while Installing APK

它在模拟器上安装得很好,但在设备上它甚至不会安装。Android Studio 只是在“正在安装 APKs...”上停留了几分钟,然后给了我这个错误。

反正有没有让这个再次工作?我是 IOUtils 的忠实粉丝,但很明显,如果它不能在最新的设备上运行,那么它对我来说毫无用处。

4

0 回答 0