Java nexus 6p上的AOSP拨号程序应用程序崩溃
我一直在为angler nexus 6p设备构建aosp。闪烁图像后,除了拨号器应用程序外,其他一切都正常工作。我在8.0.0r17标签上,其他人有相同的问题或解决方法吗Java nexus 6p上的AOSP拨号程序应用程序崩溃,java,android,android-intent,android-dialer,nexus-6p,Java,Android,Android Intent,Android Dialer,Nexus 6p,我一直在为angler nexus 6p设备构建aosp。闪烁图像后,除了拨号器应用程序外,其他一切都正常工作。我在8.0.0r17标签上,其他人有相同的问题或解决方法吗 --------- 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.a
--------- 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
我把它修好了
-本地\u PROGUARD\u已启用:=自定义
+本地保护已启用:=自定义网络系统
并将-dontoptimize添加到proguard