1
我正在使用ACRA獲取崩潰報告,並且我的應用程序崩潰並出現以下錯誤。Android ACRA#init多次呼叫
java.lang.IllegalStateException: ACRA#init called more than once
at org.acra.ACRA.init(ACRA.java:121)
at com.m7.nomad.NomadApplication.onConfigurationChanged(NomadApplication.java:15)
at android.app.ActivityThread.performConfigurationChanged(ActivityThread.java:3515)
at android.app.ActivityThread.handleConfigurationChanged(ActivityThread.java:3655)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1128)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4369)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:846)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
at dalvik.system.NativeStart.main(Native Method)
任何想法如何我可以解決這個問題?
可能重複嘗試此鏈接http://stackoverflow.com/q/12809737/1602230 – Sathish
請添加你在哪裏初始化ACRA的代碼。 – THelper