gpt4 book ai didi

java - 这个 LogCat 错误是什么意思?

转载 作者:行者123 更新时间:2023-12-02 07:57:00 24 4
gpt4 key购买 nike

我正在尝试运行 E3roid 示例中的示例。除非我这样做,否则我会强制关闭页面。这是 logcat 错误。通过查看,您能告诉我这是什么意思以及问题出在哪里吗?

02-28 20:31:51.429: D/AndroidRuntime(1779): Shutting down VM
02-28 20:31:51.429: W/dalvikvm(1779): threadid=1: thread exiting with uncaught exception (group=0x40015578)
02-28 20:31:51.429: E/AndroidRuntime(1779): FATAL EXCEPTION: main
02-28 20:31:51.429: E/AndroidRuntime(1779): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{and.roid/and.roid.AndroidActivity}: java.lang.ClassNotFoundException: and.roid.AndroidActivity in loader dalvik.system.PathClassLoader[/data/app/and.roid-1.apk]
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.os.Handler.dispatchMessage(Handler.java:99)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.os.Looper.loop(Looper.java:130)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread.main(ActivityThread.java:3687)
02-28 20:31:51.429: E/AndroidRuntime(1779): at java.lang.reflect.Method.invokeNative(Native Method)
02-28 20:31:51.429: E/AndroidRuntime(1779): at java.lang.reflect.Method.invoke(Method.java:507)
02-28 20:31:51.429: E/AndroidRuntime(1779): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
02-28 20:31:51.429: E/AndroidRuntime(1779): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
02-28 20:31:51.429: E/AndroidRuntime(1779): at dalvik.system.NativeStart.main(Native Method)
02-28 20:31:51.429: E/AndroidRuntime(1779): Caused by: java.lang.ClassNotFoundException: and.roid.AndroidActivity in loader dalvik.system.PathClassLoader[/data/app/and.roid-1.apk]
02-28 20:31:51.429: E/AndroidRuntime(1779): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
02-28 20:31:51.429: E/AndroidRuntime(1779): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
02-28 20:31:51.429: E/AndroidRuntime(1779): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
02-28 20:31:51.429: E/AndroidRuntime(1779): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1565)
02-28 20:31:51.429: E/AndroidRuntime(1779): ... 11 more
02-28 20:31:57.820: I/Process(1779): Sending signal. PID: 1779 SIG: 9
02-28 20:34:48.691: D/AndroidRuntime(2072): Shutting down VM
02-28 20:34:48.691: W/dalvikvm(2072): threadid=1: thread exiting with uncaught exception (group=0x40015578)
02-28 20:34:48.691: E/AndroidRuntime(2072): FATAL EXCEPTION: main
02-28 20:34:48.691: E/AndroidRuntime(2072): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{and.roid/and.roid.AndroidActivity}: java.lang.ClassNotFoundException: and.roid.AndroidActivity in loader dalvik.system.PathClassLoader[/data/app/and.roid-1.apk]
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.os.Handler.dispatchMessage(Handler.java:99)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.os.Looper.loop(Looper.java:130)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread.main(ActivityThread.java:3687)
02-28 20:34:48.691: E/AndroidRuntime(2072): at java.lang.reflect.Method.invokeNative(Native Method)
02-28 20:34:48.691: E/AndroidRuntime(2072): at java.lang.reflect.Method.invoke(Method.java:507)
02-28 20:34:48.691: E/AndroidRuntime(2072): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
02-28 20:34:48.691: E/AndroidRuntime(2072): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
02-28 20:34:48.691: E/AndroidRuntime(2072): at dalvik.system.NativeStart.main(Native Method)
02-28 20:34:48.691: E/AndroidRuntime(2072): Caused by: java.lang.ClassNotFoundException: and.roid.AndroidActivity in loader dalvik.system.PathClassLoader[/data/app/and.roid-1.apk]
02-28 20:34:48.691: E/AndroidRuntime(2072): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
02-28 20:34:48.691: E/AndroidRuntime(2072): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
02-28 20:34:48.691: E/AndroidRuntime(2072): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
02-28 20:34:48.691: E/AndroidRuntime(2072): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1565)
02-28 20:34:48.691: E/AndroidRuntime(2072): ... 11 more
02-28 20:34:56.511: I/Process(2072): Sending signal. PID: 2072 SIG: 9

最佳答案

您是否已将 AndroidActivity 添加到 AndroidManifest 中?

关于java - 这个 LogCat 错误是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9492427/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com