Hi, I have been recently working on an app, which I was testing and running on android devices with API 21+.
Today I decided to check older versions of android to see how it works and I got the following error as soon as a I tried to register the app on backendless:
Process: net.crofis.wichat, PID: 7461
java.lang.NoClassDefFoundError: weborb.types.Types
at com.backendless.UserService.<init>(UserService.java:56)
at com.backendless.UserService.<clinit>(UserService.java:47)
at com.backendless.Backendless.<clinit>(Backendless.java:44)
at net.crofis.wichat.WiChatApp.onCreate(WiChatApp.java:23)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4328)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
I have tried the following soulotions so far with no success:
- Changing the heap size in gradle
- replacing the backendless jar lib with maven dependency