Hello world Phonegap Android App not loading

1k Views Asked by At

Yesterday was my day 1 of phonegap. Tried setting exactly as per the wiki . When it tries to run, the application not getting loading in AVD device throwing out this message "Unfortunately App has stopped".

Following are my configuration

  1. Eclipse 4.2 juno release
  2. Android android-sdk_r18-windows
  3. Phone gap tried both 1.7 and 1.5

Steps followed ..

  1. created the project
  2. copied xml to res , jar to lib folder and js file and index.html file in www folder.

Am I missing something out here .. Tried different apps lot of times . Please help

Regards

Hashique

2

There are 2 best solutions below

0
On BEST ANSWER

Actually you need to create libs folder instead of lib folder, as the latest android SDK is been updated from r17. So just create a libs folder and place the jar file in it. Then automatically it will be added to build path and you will not get this error....

0
On

They have Eclipse plugin to generate initial setup for PhoneGap Android. Follow this. Anyway I recommend you to add plugin after you setup your helloworld yourself. Because you need to understand whats going on. Anyway if nothing works use this.

http://www.mobiledevelopersolutions.com/