安卓Android 7.1.1报错:
Opened this issue · 0 comments
Attempt to read from field 'java.lang.String com.android.server.am.ActivityRecord.packageName' on a null object reference
android.os.Parcel.readException(Parcel.java:1690)
android.os.Parcel.readException(Parcel.java:1637)
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3231)
android.app.Instrumentation.execStartActivity(Instrumentation.java:1518)
android.app.ContextImpl.startActivity(ContextImpl.java:820)
android.content.ContextWrapper.startActivity(ContextWrapper.java:378)
androidx.core.content.ContextCompat$Api16Impl.startActivity(ContextCompat.java:830)
androidx.core.content.ContextCompat.startActivity(ContextCompat.java:279)
com.alibaba.android.arouter.launcher._ARouter.startActivity(_ARouter.java:449)
com.alibaba.android.arouter.launcher._ARouter.access$200(_ARouter.java:45)
com.alibaba.android.arouter.launcher._ARouter$3.run(_ARouter.java:391)
android.os.Handler.handleCallback(Handler.java:836)
android.os.Handler.dispatchMessage(Handler.java:103)
android.os.Looper.loop(Looper.java:203)
android.app.ActivityThread.main(ActivityThread.java:6304)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)