When running create command on mac to create android cordova project, an error may happen when executing "ant jar". The reason is when updating the Android SDK Tool to 22, somehow the Android SDK build tool was not installed. This can be found from Android SDK Manager, if Android SDK build tool item is not shown under tools item.
Somehow even if running check for update from eclipse does not install it.
To fix the issue run the following command from terminal app.
android update sdk -u
In addition, it is easy to check or change Android SDK manager proxy setting by just running "android" command from terminal.
If you run "create" from phonegap download, then this will not be an issue, as phonegap download already pre-build and install the cordova.jar within the downloaded zip file.
Somehow even if running check for update from eclipse does not install it.
To fix the issue run the following command from terminal app.
android update sdk -u
In addition, it is easy to check or change Android SDK manager proxy setting by just running "android" command from terminal.
If you run "create" from phonegap download, then this will not be an issue, as phonegap download already pre-build and install the cordova.jar within the downloaded zip file.
Thanks man! this worked for me!
ReplyDeletePerfect! Thanks for sharing this!
ReplyDeleteGet your B2B eCommerce website
ReplyDeletewith affordable price with good service.