わかりました、コルドバ 3.0 CLI を使用しています:
$ cordova create hello com.example.hello "HelloWorld"
$ cd hello
$ cordova platform add android
問題:
[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]
それで:
$ export PATH=${PATH}:/Users/Primitivo/Dropbox/mobile/sdks/adt-bundle/sdk/platform-tools:/Users/Primitivo/Dropbox/mobile/sdks/adt-bundle/sdk/tools
また:
$ cordova platform add android
問題:
[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 1
Deleting project...]
次に、どうすればよいかわかりません。Javaがインストールされており、antもインストールされています。助けてください!