I'd been using this tutorial: http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.edu.html
To try to make the "hello world" program with PhoneGap but couldn't get it to launch on the emulator. I gave up and used the example project that came with the PhoneGap download, and I can't get it to load on the emulator either. I've messed around with the emulator for like an hour and nothing seems to work.
I used this to install the SDK: http://developer.android.com/sdk/index.html
Also I'm not getting any errors.
Check your preferences. Goto window->preferences and check whether you have given your android sdk path correct or not..
try this you tube video for setting your android.
I am not sure why my answer got deleted, but this is exactly the same problem I runned into (newbie trying to follow phonegap android tutorial, and it does not run in emulator). If I did
phonegap run android
it complained that it can't run it the emulator. I had to create "android virtual device" first:
android create avd -n blah -t 1
Then the above phonegap command does launch emulator and loads my app.
Perhaps the moderator that deleted my answer thinks that configuring emulator is obvious step not related to phonegap. He might be right, except for phonegap newbie like me (and maybe topic starter too) who only just installed android sdk this is not obvious at all, and we are left wondering why hello world does not pop up in the emulator.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.