猿问

安卓7.0,MIUI8.5,停止运行

首次安装打开软件时,停止运行,也没有产生任何进程运行,再次打开就能正常运行了,后台运行等待几分钟后再次打开软件又停止运行,再次打开又没事了,而且每次软件停止运行都没有提示通知运行,直接就退出程序了,请问这是安卓7.0的bug,还是代码问题,整个问题的log如下
这是首次安装打开时停止运行的log
java.lang.RuntimeException: Unable to instantiate receiver com.xiayu.xy.NetworkStateReceiver: java.lang.ClassNotFoundException: Didn't find class "com.xiayu.xy.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/com.xiayu.xy-1/base.apk"],nativeLibraryDirectories=[/data/app/com.xiayu.xy-1/lib/arm64, /system/lib64, /vendor/lib64]]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3034)
at android.app.ActivityThread.-wrap18(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1584)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:160)
at android.app.ActivityThread.main(ActivityThread.java:6200)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.xiayu.xy.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/com.xiayu.xy-1/base.apk"],nativeLibraryDirectories=[/data/app/com.xiayu.xy-1/lib/arm64, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3029)
... 8 more
这是后台运行一段时间后再次打开停止运行的log
java.lang.RuntimeException: Unable to instantiate receiver com.xiayu.xy.NetworkStateReceiver: java.lang.ClassNotFoundException: Didn't find class "com.xiayu.xy.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/com.xiayu.xy-2/base.apk"],nativeLibraryDirectories=[/data/app/com.xiayu.xy-2/lib/arm64, /system/lib64, /vendor/lib64]]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3034)
at android.app.ActivityThread.-wrap18(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1584)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:160)
at android.app.ActivityThread.main(ActivityThread.java:6200)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.xiayu.xy.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/com.xiayu.xy-2/base.apk"],nativeLibraryDirectories=[/data/app/com.xiayu.xy-2/lib/arm64, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3029)
... 8 more

慕丝8064350
浏览 1490回答 0
0回答
随时随地看视频慕课网APP

相关分类

Android
我要回答