Sunday, June 29, 2014

[Ionic][Resolved][Windows] Error :Android_HOME is not set and "android" command not in your PATH

I followed the "Getting start" tutorial at the ionic official site.
I get this error message while i run the command "ionic platform add android" when Step3 :


ANDROID_HOMEC:\Program Files\Android\android-sdk
ANDROID_TOOLSC:\Program Files\Android\android-sdk\tools
ANDROID_PLATFORM_TOOLSC:\Program Files\Android\android-sdk\platform-tools

Save the value and restart your node.js command prompt and run your command again.
For eg: “ionic platform add android",And there is my result:

 Reference:
http://ionicframework.com/getting-started/
http://stackoverflow.com/questions/23960763/error-on-adding-platform-in-ionic-framework-on-windows

No comments :

Post a Comment