[error] An error occured during creation of android sub-project. /Users/shinriyo/.cordova/lib/android/cordova/3.3.0/bin/node_modules/q/q.js:126 throw e; ^ Error: Please install Android target 19 (the Android newest SDK). Make sure you have the latest Android tools installed as well. Run "android" from your command-line to install/update any missing SDKs or tools.
のときは「Android target 19」とあるのでバージョンは19のやつをインストールしてみました。
19は「4.4.2」。
ちなみに、androidコマンドでインストール可能。
phonegap run android
の時のエラー
/Users/shinriyo/my-app/platforms/android/build.xml
に関してエラー出てたら、
ant debug -f platforms/android/build.xml
でチェックしてみる。
BUILD FAILED /usr/local/Cellar/android-sdk/22.3/tools/ant/build.xml:484: SDK does not have any Build Tools installed.
の結果の場合、
URL: http://creadorgranoeste.blogspot.jp/2013/05/android-sdk-22-build-tools.html