Ok Im using cordova 3.0 CLI:
$ cordova create hello com.example.hello "HelloWorld"
$ cd hello
$ cordova platform add android
PROBLEM:[Error: The command android failed. Make sure you have the latest Android SDK installed, and the android command (inside the tools/ folder) added to your path. Output: /bin/sh: android: command not found]
Then:
$ export PATH=${PATH}:/Users/Primitivo/Dropbox/mobile/sdks/adt-bundle/sdk/platform-tools:/Users/Primitivo/Dropbox/mobile/sdks/adt-bundle/sdk/tools
Again:
$ cordova platform add android
PROBLEM:
[Error: An error occured during creation of android sub-project. An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET --path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited with 1Deleting project...]
Then: I dont know what to to, I have java installed and ant too. Please help!


Check Solution