adt - IBM Worklight 5.x - Android app stops and terminates unexpectedly -


i have tried develop test application using worklight android environment. when run app using avd throws error message like:

"sorry application test (process com.accorfintech) has stopped unexpectedly. please try again."

and application terminates.
using eclipse 4.2 , android version avd android 2.2.

here logcat:

07-01 16:19:33.510: w/dalvikvm(403): unable resolve superclass of lcom/accordfintech/accordfintech; (12) 07-01 16:19:33.510: w/dalvikvm(403): link of class 'lcom/accordfintech/accordfintech;' failed 07-01 16:19:33.540: d/androidruntime(403): shutting down vm 07-01 16:19:33.540: w/dalvikvm(403): threadid=1: thread exiting uncaught exception (group=0x4001d800) 07-01 16:19:33.570: e/androidruntime(403): fatal exception: main 07-01 16:19:33.570: e/androidruntime(403): java.lang.runtimeexception: unable instantiate activity componentinfo{com.accordfintech/com.accordfintech.accordfintech}: java.lang.classnotfoundexception: com.accordfintech.accordfintech in loader dalvik.system.pathclassloader[/data/app/com.accordfintech-2.apk] 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread.performlaunchactivity(activitythread.java:2585) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread.handlelaunchactivity(activitythread.java:2679) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread.access$2300(activitythread.java:125) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread$h.handlemessage(activitythread.java:2033) 07-01 16:19:33.570: e/androidruntime(403):  @ android.os.handler.dispatchmessage(handler.java:99) 07-01 16:19:33.570: e/androidruntime(403):  @ android.os.looper.loop(looper.java:123) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread.main(activitythread.java:4627) 07-01 16:19:33.570: e/androidruntime(403):  @ java.lang.reflect.method.invokenative(native method) 07-01 16:19:33.570: e/androidruntime(403):  @ java.lang.reflect.method.invoke(method.java:521) 07-01 16:19:33.570: e/androidruntime(403):  @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:868) 07-01 16:19:33.570: e/androidruntime(403):  @ com.android.internal.os.zygoteinit.main(zygoteinit.java:626) 07-01 16:19:33.570: e/androidruntime(403):  @ dalvik.system.nativestart.main(native method) 07-01 16:19:33.570: e/androidruntime(403): caused by: java.lang.classnotfoundexception: com.accordfintech.accordfintech in loader dalvik.system.pathclassloader[/data/app/com.accordfintech-2.apk] 07-01 16:19:33.570: e/androidruntime(403):  @ dalvik.system.pathclassloader.findclass(pathclassloader.java:243) 07-01 16:19:33.570: e/androidruntime(403):  @ java.lang.classloader.loadclass(classloader.java:573) 07-01 16:19:33.570: e/androidruntime(403):  @ java.lang.classloader.loadclass(classloader.java:532) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.instrumentation.newactivity(instrumentation.java:1021) 07-01 16:19:33.570: e/androidruntime(403):  @ android.app.activitythread.performlaunchactivity(activitythread.java:2577) 07-01 16:19:33.570: e/androidruntime(403):  ... 11 more 

are using adt v22?

see if helps you: ibm worklight - "unfortunately, helloworklight has stopped" error message

  1. right-click on native android project in worklight studio , choose 'properties'.
  2. select 'java build path' , go 'order , export' tab.
  3. mark check-box 'android private libraries'
  4. refresh/clean/rebuild android project.

you need above per-project.
fixed in worklight 6.0.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -