NavCore / ngCordova

Angular 4 + Cordova Boilerplate
29 stars 18 forks source link

Failed to find 'ANDROID_HOME' environment variable. #5

Open jomy-joseph opened 6 years ago

jomy-joseph commented 6 years ago

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