ant, java, node.js, phonegap, and my adobe account are all setup properly. The getting started guide says I should be able to type:
cordova create hello com.e
First of all, you should be using phonegap
instead of cordova
to create the project folder structure.
phonegap create hello com.example.hello "HelloWorld"
And secondly, please note that build
command uses two way to build for any specific platform. One using the phonegap build API (online)
using the below command
phonegap build android
and second one locally using below command,
phonegap local build android
So you should try to use the second command for creating the android specific folder and use it with eclipse. You can look for more details over here http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
When you run the build local
command, android folder is created inside the platforms folder, and you should always modify the code(html, js, css) on the www folder present outside the platforms folder.
The changes will get reflected once you again run the build
command. This helps you maintain single code base for multiple platform ( which is the basis aim of using Phonegap)
Note: you need to have latest android sdk tools (vs18) to run on Android SDK.