I am using Cordova-3.3.0, and when trying to create a project for Android I am getting this following error -
Error: Please install Android target 19 (the Android newest SDK).
I have the latest android installed along with the Android 18 and 17. And even if I use Cordova-3.2.0 I get the same result
Android target 18 not found
.
Please can anyone suggest what might be the problem?
I am using the following along with cordova - ant version 1.9.2 java 1.7.0_45
Have you correctly set android SDK tools in your Path ?
For Cordova command-line tools to work, you need to include the SDK's tools and platform-tools directories in your PATH environment. On Mac, you can use a text editor to create or modify the ~/.bash_profile file, adding a line such as the following, depending on where the SDK installs:
You have to install the SDK and include tools and platform-tools directories to your path, after you need to install correct versions of Android (19 in your case).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With