Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
710 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...