NoClassDefFoundError when we run my custom App

0 votes

I am getting the below error when I try to integrate your sample App App42Sample with my App.The below is the error.Can you please suggest me what may be going wrong in my application.Whereas the sample application runs fine.Please suggest.

 

02-06 14:35:14.193: E/test(28180): Exception
02-06 14:35:14.193: E/AndroidRuntime(28180): FATAL EXCEPTION: main
02-06 14:35:14.193: E/AndroidRuntime(28180): Process: com.example.app42sample, PID: 28180
02-06 14:35:14.193: E/AndroidRuntime(28180): java.lang.NoClassDefFoundError: com.shephertz.app42.paas.sdk.android.App42API
02-06 14:35:14.193: E/AndroidRuntime(28180): at com.example.app42sample.MainActivity.onCreate(MainActivity.java:24)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.Activity.performCreate(Activity.java:5231)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2210)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2296)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.ActivityThread.access$800(ActivityThread.java:145)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.os.Handler.dispatchMessage(Handler.java:102)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.os.Looper.loop(Looper.java:136)
02-06 14:35:14.193: E/AndroidRuntime(28180): at android.app.ActivityThread.main(ActivityThread.java:5136)
02-06 14:35:14.193: E/AndroidRuntime(28180): at java.lang.reflect.Method.invokeNative(Native Method)
02-06 14:35:14.193: E/AndroidRuntime(28180): at java.lang.reflect.Method.invoke(Method.java:515)
02-06 14:35:14.193: E/AndroidRuntime(28180): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:819)
02-06 14:35:14.193: E/AndroidRuntime(28180): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
02-06 14:35:14.193: E/AndroidRuntime(28180): at dalvik.system.NativeStart.main(Native Method)
 
asked Feb 6, 2015 in App42 Cloud API-BaaS by ajay.kalkoti (10 points)

1 Answer

0 votes

Hello Ajay,

Kindly attach App42 Android library in your project reference to overcome on this issue. Please download the latest binary from here & let us know if it helps.

Thansk,

Himanshu Sharma

 

answered Feb 6, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...