Error building Android app with Cordova 3.1 CLI

view story

http://stackoverflow.com – I am attempting to run "cordova build android" through phonegap CLI with Terminal on my Mac. First I downloaded the Android SDK. Then I set up the project and added android. Then I attempted "cordova build android" and received the following error: Error: An error occurred while building the android project. Please install Android target 17 (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. So I ran "android" and installed everything related to target 17. The (HowTos)