Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
734 views
in Technique[技术] by (71.8m points)

android - IBM Worklight - "Unfortunately, HelloWorkLight has stopped" error message

I have created a simple HelloWorld application with the Android environment. When I run it in my android device (ICS version) i get this error message:

Unfortunately, HelloWorkLight has stopped

When I run it in the Android emulator (version 2.2), I get this error:

Sorry! The application HelloWorkLight (process com.HelloWorkLight) has stopped unexpectedly. Please try again. Force Close.

I have no idea what to do with this error.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You are probably using ADT v22.
To resolve this issue:

  1. Right-click on the native Android project in Worklight Studio and choose 'Properties'.
  2. Select 'Java Build Path' and go to the 'Order and Export' tab.
  3. Mark the check-box for 'Android Private Libraries'
  4. Refresh/clean/rebuild the android project.

You will need to do the above per-project.
This is fixed internally for a future Worklight release.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...