This problem is connected with actualization of Android. Android depreciated his tool: android
, you can check it typing android
in command line. You should see:
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Invalid or unsupported command ""
Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
You can solve it updating cordova
npm install -g cordova
and android platform in cordova
cordova platform rm android; cordova platform add android@6.2.3
Source
Cordova: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable