Hey, Guys! I recently started to work with Cordova and when I run the Cordova platform add android
i get the following error. I have successfully placed the environment variables for Java and for the Android SDK as well. But the npm modules does not exist in C:/Windows/System32/npm as shown in the error, It is in the Users/My username/AppData/Roaming/npm folder. Some guidance would be appreciated.
I followed the following scripts which are shown in the official Cordova documentation to create a new project.
Cordova create hello com.example.hello HelloWorld
cd hello
Cordova platform add android -> where I'm stuck at
Kindly Check the Android Version Provided by Cordova and verify with your current Android version installed on your system , if there a mismatch : 1) Update Android Version From Android Studio SDK Manager 2) Update Cordova Platform - Refer: Cordova Documentation
External Source cordova - Error: Failed to fetch platform android
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments