2

C:\Users\GINOM HANGSHING\hello>cordova requirements

Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed cmd: Command failed with exit code 1 Error output: 'android' is not recognized as an internal or external command, operable program or batch file. Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\gradle Error: Some of requirements check failedenter image description here

2 Answers2

0

Try to update your android platform by

C:\Users\GINOM HANGSHING\hello>cordova platform update android --save

Fuat
  • 659
  • 9
  • 13
0

Add System variable, Path. Add "\tools" directory (in addition of "\platform-tools") of your Android SDK folder. There "android.bat" is located.

Restart any open terminals.

How to check Android SDK folder: Android SDK location

If you do not find a \tools folder in your Android SDK folder, you can either try reinstalling your Android SDK or downloading and extracting the tools without the IDE from the links below (Be sure to have read and agreed with the terms of service before downloading any of the command line tools)

Windows no installer: https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip

MacOSX: https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip

Linux: https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip

Taub
  • 1