gpt4 book ai didi

java - AOSP 拨号器应用程序在 Nexus 6p 上崩溃

转载 作者:行者123 更新时间:2023-12-02 12:05:47 26 4
gpt4 key购买 nike

我一直在为钓鱼者(nexus 6p)设备构建aosp。闪烁图像后,除了拨号器应用程序之外,一切正常。我在“8.0.0_r17”标签上,其他人有同样的问题或任何解决方法吗?

--------- beginning of crash
10-24 21:32:35.860 5988 5988 E AndroidRuntime: FATAL EXCEPTION: main

10-24 21:32:35.860 5988 5988 E AndroidRuntime: Process: com.android.dialer, PID: 5988

10-24 21:32:35.860 5988 5988 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.InstantiationException: java.lang.Class<android.support.v4.content.FileProvider> has no zero argument constructor

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6290)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:5851)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5772)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.access$2000(ActivityThread.java:173)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: Caused by: java.lang.InstantiationException: java.lang.Class<android.support.v4.content.FileProvider> has no zero argument constructor

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at java.lang.Class.newInstance(Native Method)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6274)

10-24 21:32:35.860 5988 5988 E AndroidRuntime: ... 10 more

10-24 21:32:35.863 841 852 W ActivityManager: Force finishing activity com.android.dialer/.app.DialtactsActivity

10-24 21:32:35.869 841 857 I ActivityManager: Showing crash dialog for package com.android.dialer u0

最佳答案

已修复

-LOCAL_PROGUARD_ENABLED := 自定义
+LOCAL_PROGUARD_ENABLED := 自定义 nosystem

并将 -dontoptimize 添加到 proguard。

关于java - AOSP 拨号器应用程序在 Nexus 6p 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46915326/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com