Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova: still getting the error "please install android target 23" with android-23 sdk installed

I'm trying to build a android cordova based application but I'm always getting this error.

Here the error message on the cli : cli-error

But, as you can see on the next picture, I have installed the android-23 platform with android sdk manager : Android SDK manager

Also, the environment variable ANDROID_HOME is correctly set and I have android-sdk\tools and android-sdk\platform-tools in my PATH.

Does anyone have an idea of what could be the problem ?

like image 436
Adrien Avatar asked Jan 29 '16 15:01

Adrien


1 Answers

We need to install all the platform tool for android API version 23. As shown in the image. Also, Need to install all the API Version 23.

enter image description here

enter image description here

Restart your node js command line tool and try again with : cordova build command, it will work now and download the dependent files.

like image 117
Mayank Nimje Avatar answered Sep 28 '22 00:09

Mayank Nimje