安装apk在android 8.0中错误

时间:2018-04-16 22:46:43

标签: android installation

我已经尝试了很多天在使用android oreo的任何设备上安装应用程序,无论是在调试模式下使用android studio还是通过创建apk,但我仍然失败。在开始时我遇到了问题install_failed_no_matching_abis failed to extract native libraries res=-113 after updating to android 8.0 oreo 当我试图解决这个问题时,我总是会遇到不同的错误。 当我设置android.enableAapt2=true时,我收到此错误 enter image description here

当我设置android.enableAapt2=false时,我收到警告

 The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
I`t will be removed at the end of 2018..`

最后出现了这个错误 enter image description here

并在日志Mesagges

04-17 01:37:27.331 9763-11258/? E/xiy: Job(ItemMessageAttachmentsCacheEvictorJob#0.126) Enqueued job 'ItemMessageAttachmentsCacheEvictorJob' failed
java.lang.IllegalArgumentException: Attachment cache cannot be null.
    at piu.a(Unknown Source:4)
    at pki.a(Unknown Source:17)
    at yik.a(SourceFile:1)
    at xik.b(SourceFile:2)
    at xil.a(Unknown Source:4)
    at yik.a(SourceFile:1)
    at yhr.run(SourceFile:1)
    at wzc.run(Unknown Source:3)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:782)

无论哪种方式我都无法在运行oreo的任何设备上安装我的应用程序,虽然它可以正常工作到nougat.Even如果我buld apk ig得到错误解析apk文件。

0 个答案:

没有答案
相关问题