Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova android target not installed

Im trying to set cordova on my laptop using windows 7 and I still get that message

This is my nodeJs command

like image 310
Mehdi El Aissi Avatar asked Sep 20 '25 01:09

Mehdi El Aissi


1 Answers

you have to Install Android SDK Packages first, Follow steps in this URL

https://cordova.apache.org/docs/en/latest/guide/platforms/android/

then you have to set Environment Variables:

  1. Set the JAVA_HOME environment variable to the location of your JDK installation.
  2. Set the ANDROID_HOME environment variable to the location of your Android SDK installation It is also recommended that you add the Android SDK's tools, tools/bin, and platform-tools directories to your PATH
like image 122
Khaled Sayed Avatar answered Sep 22 '25 20:09

Khaled Sayed