Android地图应用程序:我无法运行

时间:2012-02-06 06:16:24

标签: android google-maps

02-06 14:08:29.678: W/dalvikvm(702): threadid=1: thread exiting with uncaught exception (group=0x409c01f8)
02-06 14:08:29.718: E/AndroidRuntime(702): FATAL EXCEPTION: main
02-06 14:08:29.718: E/AndroidRuntime(702): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{nhexia.pack/nhexia.pack.SaturnVTDActivity}: java.lang.ClassNotFoundException: nhexia.pack.SaturnVTDActivity
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread.access$600(ActivityThread.java:123)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.os.Handler.dispatchMessage(Handler.java:99)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.os.Looper.loop(Looper.java:137)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread.main(ActivityThread.java:4424)
02-06 14:08:29.718: E/AndroidRuntime(702):  at java.lang.reflect.Method.invokeNative(Native Method)
02-06 14:08:29.718: E/AndroidRuntime(702):  at java.lang.reflect.Method.invoke(Method.java:511)
02-06 14:08:29.718: E/AndroidRuntime(702):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
02-06 14:08:29.718: E/AndroidRuntime(702):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
02-06 14:08:29.718: E/AndroidRuntime(702):  at dalvik.system.NativeStart.main(Native Method)
02-06 14:08:29.718: E/AndroidRuntime(702): Caused by: java.lang.ClassNotFoundException: nhexia.pack.SaturnVTDActivity
02-06 14:08:29.718: E/AndroidRuntime(702):  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
02-06 14:08:29.718: E/AndroidRuntime(702):  at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
02-06 14:08:29.718: E/AndroidRuntime(702):  at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
02-06 14:08:29.718: E/AndroidRuntime(702):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
02-06 14:08:29.718: E/AndroidRuntime(702):  ... 11 more

我在运行我的应用程序时遇到此错误....帮助

3 个答案:

答案 0 :(得分:1)

检查清单文件以确保正确声明活动nhexia.pack.SaturnVTDActivity

答案 1 :(得分:1)

您也可能更新了ADT插件,并需要将您的包含移动为this link suggests

答案 2 :(得分:0)

您似乎尝试启动无法找到的类。清单中定义的活动是否是拼写错误的类?

在eclipse中尝试调试并查看它失败的行,并在此处分享。