DDD
DDD

Reputation: 83

Error while doing cordova build

I'm trying to take android build using cordova. I have installed cordova.

enter image description here

Added android platform enter image description here

Now when, I run cordova build I'm getting below error

enter image description here

Where as, My android home is set correctly in PATH, (variable ANDROID_HOME = C:\Program Files\Android\sdk; and in PATH : %ANDROID_HOME%\tools; %ANDROID_HOME%\platform-tools;)

Also, If you see my sdk manager it shows android 23 installed

enter image description here

In \platforms\android\project.properties and \platforms\android\CordovaLib\project.properties target=android-23 is there. I modified AndroidManifest.xml to <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />

But still no luck. Please help!!

Upvotes: 0

Views: 99

Answers (1)

Philip Bijker
Philip Bijker

Reputation: 5115

The image of the SDK manager shows that you've got the

  • SDK Tools
  • Platform-tools
  • Build-tools

but NOT the API version 23 (checkmarks shown at the bottom of the image).

Re-open the SDK manager, Make sure the checkboxes for API 23 are checked and hit "Intstall packages"

Upvotes: 1

Related Questions