Update Sdk and don't find the activity

  ... in the unlikely case you discovered a bug, post it here.

Update Sdk and don't find the activity

Postby Vulcanic » Wed Apr 04, 2012 12:24 pm

Hi all, I have update the sdk with the last changes by google like the new gui emulator. The problem it's that now my project won't start . Here is the logcat

CODE: SELECT ALL
04-03 23:06:43.563: E/AndroidRuntime(4618): FATAL EXCEPTION: main
04-03 23:06:43.563: E/AndroidRuntime(4618): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.GrowUp/org.GrowUp.GrowUpAct}: java.lang.ClassNotFoundException: org.GrowUp.GrowUpAct in loader dalvik.system.PathClassLoader[/data/app/org.GrowUp-2.apk]
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.os.Handler.dispatchMessage(Handler.java:99)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.os.Looper.loop(Looper.java:123)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread.main(ActivityThread.java:4627)
04-03 23:06:43.563: E/AndroidRuntime(4618): at java.lang.reflect.Method.invokeNative(Native Method)
04-03 23:06:43.563: E/AndroidRuntime(4618): at java.lang.reflect.Method.invoke(Method.java:521)
04-03 23:06:43.563: E/AndroidRuntime(4618): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-03 23:06:43.563: E/AndroidRuntime(4618): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-03 23:06:43.563: E/AndroidRuntime(4618): at dalvik.system.NativeStart.main(Native Method)
04-03 23:06:43.563: E/AndroidRuntime(4618): Caused by: java.lang.ClassNotFoundException: org.GrowUp.GrowUpAct in loader dalvik.system.PathClassLoader[/data/app/org.GrowUp-2.apk]
04-03 23:06:43.563: E/AndroidRuntime(4618): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
04-03 23:06:43.563: E/AndroidRuntime(4618): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
04-03 23:06:43.563: E/AndroidRuntime(4618): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
04-03 23:06:43.563: E/AndroidRuntime(4618): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
04-03 23:06:43.563: E/AndroidRuntime(4618): ... 11 more


It seams that BasicGameActivity won't be load ... or not extends Activity class anymore. How can i fix this? i started a new project and the problem is not solved. please help me :cry:
Vulcanic
 
Posts: 14
Joined: Tue Nov 08, 2011 6:31 pm


Re: Update Sdk and don't find the activity

Postby Killi » Fri Aug 17, 2012 9:04 pm

Holy Sh**** you saved my life!

After 2 hours of searching I found your post - 1000 thanks!!!!!!!!!!!!!!!!
Killi
 
Posts: 26
Joined: Tue Jul 05, 2011 11:37 pm
Location: Winnenden, Germany


Return to Bugs

Who is online

Users browsing this forum: No registered users and 5 guests