Android Fabric Crashlytics crashing with Resources$NotFoundException on app launch

后端 未结 1 2114
小蘑菇
小蘑菇 2021-02-20 02:03
android.content.res.Resources$NotFoundException
android.content.res.ResourcesImpl.getResourcePackageName

After upgrading Crashlytics from 2.6.6

相关标签:
1条回答
  • 2021-02-20 02:44

    It was happening for me as well. I couldn't reproduce it but after analyzing Crashlytics log history I realized it started happening after I moved to app bundle. So I moved back to apk and now I am not getting these issue anymore.

    Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.xxx/com.xxx.xx.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f0700e7
           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2733)
           at android.app.ActivityThread.-wrap12(ActivityThread.java)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1480)
           at android.os.Handler.dispatchMessage(Handler.java:102)
           at android.os.Looper.loop(Looper.java:154)
           at android.app.ActivityThread.main(ActivityThread.java:6146)
           at java.lang.reflect.Method.invoke(Method.java)
           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    

    0 讨论(0)
提交回复
热议问题