android


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


I have tried to develop a test application using Worklight for the Android environment. When I run the app using an AVD it throws an error message like:
"Sorry The application Test (process com.AccorFintech) has stopped
unexpectedly. Please try again."
and the application terminates.
I am using Eclipse 4.2 and android version for AVD is Android 2.2.
Here Is My Logcat:
07-01 16:19:33.510: W/dalvikvm(403): Unable to 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 with 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 to 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): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.os.Handler.dispatchMessage(Handler.java:99)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.os.Looper.loop(Looper.java:123)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-01 16:19:33.570: E/AndroidRuntime(403): at java.lang.reflect.Method.invokeNative(Native Method)
07-01 16:19:33.570: E/AndroidRuntime(403): at java.lang.reflect.Method.invoke(Method.java:521)
07-01 16:19:33.570: E/AndroidRuntime(403): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-01 16:19:33.570: E/AndroidRuntime(403): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-01 16:19:33.570: E/AndroidRuntime(403): at 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): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
07-01 16:19:33.570: E/AndroidRuntime(403): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
07-01 16:19:33.570: E/AndroidRuntime(403): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
07-01 16:19:33.570: E/AndroidRuntime(403): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
07-01 16:19:33.570: E/AndroidRuntime(403): ... 11 more
Are you using ADT v22?
See if this helps you: IBM Worklight - "Unfortunately, HelloWorkLight has stopped" error message
Right-click on the native Android project in Worklight Studio
and choose 'Properties'.
Select 'Java Build Path' and go to the 'Order and Export'
tab.
Mark the check-box for 'Android Private Libraries'
Refresh/clean/rebuild the android project.
You will need to do the above per-project.
This is fixed in Worklight 6.0.

Related Links

android fragment using activity
RecyclerView inside NestedScrollView, load Imageview
ANDROID_HOME is not set (Ubuntu 16.04)
HTML5 video controls disappear in full-screen mode on android devices
Android Popup window from edittext keep focus
How to Pass the Data from Listview A to ListView B?
getDownloadURL and post to Firebase Database on Android sometimes doesn't work
Is it possible to run OAT/ELF files from command line on Android?
QTextDocument line spacing too big
Cancel alarm set by SetAlarmClock
Pouchdb not establishing connection with Couchdb on cloudno in ember android application. But works for Web application.
Is there anyway to find the file my App created with Corona SDK on Android real device
Sub domains not showing for android device
why .webp larger than .png?
how to use context on PendingIntent in android service class?
radiobutton icons showing in android studio not showing in emulator

Categories

HOME
uml
url-redirection
phantom-dsl
phpword
angular2-material
swt
saml-2.0
switch-statement
emscripten
spring-session
jax-ws
angularfire2
crystal-lang
boto3
little-proxy
drop-down-menu
octave
why3
jsonpath
powershell-v5.0
wolframalpha
selinux
backpack-for-laravel
question2answer
r-mice
ios10.2
short-url
roundup
expressionengine3
exchangewebservices
xbox
anki
kodi
spring-security4
papaparse
jett
joomla2.5
lubridate
numpy-broadcasting
searchkit
python-pptx
sql-server-ce
password-protection
bc
magento-1.9.3
puredata
openrasta
datamaps
page-replacement
oracleclient
janus
cpu-cache
renaming
juice-ui
visual-studio-2008-sp1
simplepie
preprocessor
spring-cloud-feign
simevents
shopping
google-query-language
php-socket
phpwebsocket
cycle2
rasterize
character-replacement
grgit
themoviedb-api
computer-architecture
zen-cart
binomial-theorem
batik
telepat
adehabitathr
lnk
dct
authlogic
sbcl
android-audiorecord
inappsettingskit
mongohq
route-provider
superscrollorama
chart-director
frameworkelementfactory
qtconcurrent
boost-msm
xcode3.2
subgraph
hibernateexception
updatesourcetrigger
easyb
interprocess
windows-identity
scrubyt
xslcompiledtransform
pbcopy
wspbuilder

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App