cordova platform ls,
cordova platform add android
are working fine. After that executing
cordova run android
I am getting this error.
E:\ngCordova>cordova run android
Android Studio project detected
(node:5948) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
cordova platform ls, cordova platform add android are working fine. After that executing cordova run android I am getting this error.
E:\ngCordova>cordova run android Android Studio project detected (node:5948) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
my index.html path is