Cordova 3.5.0 Install Error- Please Install Android Target 19

Cordova 3.5.0 Install Error- Please Install Android Target 19

Android SDK is not your target Android version. Target Android version 19 is the API level for android Kitkat.So in you SDK manager check if you have Android 4.4.2(API 19) installed. If you want your target API version to be different then change it in ANdroidManifest.xml

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="18" />

Edit these lines. Here android:targetSdkVersion is your Android version that you are targeting.

Sample Image

Phonegap always asks me to install android sdk 19 but i have already installed it

I had the same problem and I thought I had API 19 installed but I didn't.

In CMD type "android"

Scroll down to Android 4.2.2 (API 19)

Check all and install them.

Even if you already have API 20 installed and all the other packages and tools installed, you need this.

Cordova cannot find Android 19 SDK while setting up Android project

What I found out eventually is when Cordova asks for Android target 19, it does not mean Android SDK Revision 19. Rather it refers to the Android 4.4.2 which has an API level 19.

So installing the Android 4.4.2 from SDK manager was the solution.

Cordova build error after update to 3.5.0

I have solved this changing the "version" attribute in www/config.xml (even if it seems unrelated because the problem is with versionCode).

Just add a third minor version number, for instance I changed from 0.6 to 0.6.3



Related Topics



Leave a reply



Submit