我发现分析日志中出现以下错误:
content.android.ActivityNotFoundException: (Unable to find explicit activity class {com.jrea.trustapp/com.jrea.trustapp.activities.b}; have you declared this activity in your AndroidManifest.xml?)
at app.android.Instrumentation.checkStartActivityResult(Instrumentation.java:1855)
at app.android.Instrumentation.execStartActivity(Instrumentation.java:1546)
at app.android.Activity.startActivityForResult(Activity.java:4298)
at b.v4.support.android.g.startActivityForResult(BaseFragmentActivityJB.java:48)
at b.v4.support.android.j.startActivityForResult(FragmentActivity.java:77)
at app.android.Activity.startActivityForResult(Activity.java:4245)
at b.v4.support.android.j.startActivityForResult(FragmentActivity.java:859)
at app.android.Activity.startActivity(Activity.java:4582)
at app.android.Activity.startActivity(Activity.java:4550)
at activities.trustapp.jrea.com.MainActivity.a(MainActivity.java:16355)
at activities.trustapp.jrea.com.MainActivity$a.onReceive(MainActivity.java:325)
at c.v4.support.android.d.a(LocalBroadcastManager.java:1297)
at c.v4.support.android.d$1.handleMessage(LocalBroadcastManager.java:116)
at os.android.Handler.dispatchMessage(Handler.java:102)
at os.android.Looper.loop(Looper.java:148)
at app.android.ActivityThread.main(ActivityThread.java:7325)
at reflect.lang.java.Method.invoke(Native Method)
at os.internal.android.com.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at os.internal.android.com.ZygoteInit.main(ZygoteInit.java:1120)
这种情况有时只发生在一些显然是随机的。所有活动都在清单中声明,大多数用户不会遇到问题。我试图在我的所有设备上重现错误而没有任何成功。
我在这里做错了什么?