it gives me this :
(node:6376) 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.
Did you do what it says in the error message?
Is ionic cordova requirements
happy?
What is your ionic info
output?
(node:6376) 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.
Yes, that is the error message.
Did you do what it tells you to do?
1 Like
Do you have android studio installed in your machine if try reinstalling android studio and make sure that your environment variables are set. and then try again.
1 Like