greenApps
Android Fan
Profile
Posts: 3
Reg: Jul 09, 2013
Makassar
2,780
07/30/13 09:16 PM (12 years ago)

AndroidRuntime Error in Eclipse - After Integrating Airpush SDK 6.0

I got this error after trying to integrate Airpush into my app. I've tried running it on a different API Level but still get the same error. 07-30 13:32:45.553: W/ZZ(533): BT_activity_base:onCreate (BASE CLASS) 07-30 13:32:45.723: W/ZZ(533): WB_screen_menuImage:onCreate 07-30 13:32:45.723: D/AndroidRuntime(533): Shutting down VM 07-30 13:32:45.744: W/dalvikvm(533): threadid=1: thread exiting with uncaught exception (group=0x40014760) 07-30 13:32:45.848: E/AndroidRuntime(533): FATAL EXCEPTION: main 07-30 13:32:45.848: E/AndroidRuntime(533): java.lang.NoClassDefFoundError: com.ppkdem.ebxfim154472.Airpush 07-30 13:32:45.848: E/AndroidRuntime(533): at com.deliciousvegetarianrecipes.WB_screen_menuImage.onCreate(WB_screen_menuImage.java:114) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.Activity.performCreate(Activity.java:4397) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.ActivityThread.access$500(ActivityThread.java:122) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.os.Handler.dispatchMessage(Handler.java:99) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.os.Looper.loop(Looper.java:132) 07-30 13:32:45.848: E/AndroidRuntime(533): at android.app.ActivityThread.main(ActivityThread.java:4123) 07-30 13:32:45.848: E/AndroidRuntime(533): at java.lang.reflect.Method.invokeNative(Native Method) 07-30 13:32:45.848: E/AndroidRuntime(533): at java.lang.reflect.Method.invoke(Method.java:491) 07-30 13:32:45.848: E/AndroidRuntime(533): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-30 13:32:45.848: E/AndroidRuntime(533): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-30 13:32:45.848: E/AndroidRuntime(533): at dalvik.system.NativeStart.main(Native Method) 07-30 13:32:48.984: I/Process(533): Sending signal. PID: 533 SIG: 9 There seems to be something wrong with the "activity" but do not know what it is .. Thanks in advance! Jumadi
 
Rishav
Code is Art
Profile
Posts: 153
Reg: Jan 26, 2012
Dubai
8,780
like
07/31/13 12:55 AM (12 years ago)
Have you added the airpush jar file to libraries? In the new Eclipse you have to tick against the jar file to include it in project after adding the jar i suppose.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
07/31/13 01:07 AM (12 years ago)
Check out the line number 6 in the logcat output, it says- 07-30 13:32:45.848: E/AndroidRuntime(533): java.lang.NoClassDefFoundError: com.ppkdem.ebxfim154472.Airpush Either you have not put the jar file in the libs folder and build configured it (as @Rishav suggests) or you have not implemented the codes properly in your plugin file.
 
greenApps
Android Fan
Profile
Posts: 3
Reg: Jul 09, 2013
Makassar
2,780
like
07/31/13 02:12 AM (12 years ago)
Problem solved! You guys are really cool.. Thanks so much :)
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
07/31/13 06:42 AM (12 years ago)
Nice to know the problem is solved. All the best.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.