ngCordova icon indicating copy to clipboard operation
ngCordova copied to clipboard

Failed to find 'ANDROID_HOME' environment variable.

Open jomy-joseph opened this issue 7 years ago • 0 comments

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

jomy-joseph avatar Jan 16 '18 11:01 jomy-joseph