Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

华为P40 鸿蒙2.0系统 _ARouter.startActivity报错 报错版本1.5.0 #943

Closed
hloong opened this issue Aug 1, 2021 · 2 comments
Closed

Comments

@hloong
Copy link

hloong commented Aug 1, 2021

荣耀的手机升级鸿蒙2.0后并没有报错,
华为P40系列的手机升级了鸿蒙2.0系统后报如下错误打开app闪退报错
华为p40系列基于Android10的没有报错

引入的是
implementation 'com.alibaba:arouter-api:1.5.0'
kapt 'com.alibaba:arouter-compiler:1.2.2'


java.lang.NullPointerException

unknown reason

解析原始
android.os.Parcel.createException(Parcel.java:2088)
android.os.Parcel.readException(Parcel.java:2050)
android.os.Parcel.readException(Parcel.java:1998)
android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:3908)
android.app.Instrumentation.execStartActivity(Instrumentation.java:1738)
android.app.ContextImpl.startActivity(ContextImpl.java:1049)
android.content.ContextWrapper.startActivity(ContextWrapper.java:405)
androidx.core.content.ContextCompat.startActivity(ContextCompat.java:251)
com.alibaba.android.arouter.launcher._ARouter.startActivity(_ARouter.java:434)
com.alibaba.android.arouter.launcher._ARouter.access$200(_ARouter.java:41)
com.alibaba.android.arouter.launcher._ARouter$3.run(_ARouter.java:376)
android.os.Handler.handleCallback(Handler.java:900)
android.os.Handler.dispatchMessage(Handler.java:103)
android.os.Looper.loop(Looper.java:219)
android.app.ActivityThread.main(ActivityThread.java:8668)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
@hloong hloong closed this as completed Nov 7, 2021
@hloong
Copy link
Author

hloong commented Nov 7, 2021

这玩意是手机把app误报毒了,解除就好了

@dingzhipengV
Copy link

这玩意是手机把app误报毒了,解除就好了

我这边也发生了类似的bug,都是华为 Android 10的系统上。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants