0

This is my first time learning IBM Worklight, so please bear with me. I was following this tutorial, however i stucked in page 14, where the tutorial tell me to "run as android project" so the project will be run on android simulator.

This is the error i got :

Could not find HelloWorklightHelloWorklightAndroid.apk!

What should i do? I also have watched this video, and everything works fine in that video (no error like mine)

Thanks for your time, any help is appreciated :D

Blaze Tama
  • 10,828
  • 13
  • 69
  • 129
  • Downvoting my question?why?at least leave a comment so i can prove my question – Blaze Tama Jun 03 '13 at 13:28
  • @dtmilano i'm a student and IBM give it to me for free because i join their competition. However i will try to post this problem in their forum :D – Blaze Tama Jun 03 '13 at 14:56

2 Answers2

3

The answer is because a BUG in ADT 22. I need to upgrade the ADT to latest version and install Android Build Tools.

The way to solve this bug (and get things working )is in my another question (which share the same problem, because i use a same android sdk) :

Eclipse Juno/Android broken, the debug is wrong and gen folder not created (R error)

EDIT

After that, you probably will get CLASSNOTFOUNDEXCEPTION because (again) ADT 22, so you need to do (a little) more things in this IBM link

Community
  • 1
  • 1
Blaze Tama
  • 10,828
  • 13
  • 69
  • 129
  • 2
    I'm not sure it's a bug in ADT 22 as much as the fact you need to install Android Build Tools. Since Android Build Tools doesn't show up until after you've installed the latest SDK, it's easy to miss this step. One way for others to check if this is the problem is to use the Android tools to export an APK directly - if so, they will see a missing build tools error message. – Nell Gawor Jun 03 '13 at 20:26
  • @NellGawor Thanks for your additional information. I suddenly got this error after i update my ADT to 22.0.0 :D – Blaze Tama Jun 04 '13 at 10:17
1

Clean the project and build it again it works.

Srikanth Roopa
  • 1,782
  • 2
  • 13
  • 19