Android_home is isn't set and "Android" command not in your path resolves

Source: Internet
Author: User

An error occurred while adding a platform in the project after installing Cordova using Nodejs:

The reason is that there is no environment variable

Using PHONEGAP development not only with the JDK environment variables, but also with the ADT environment variables, this error is shown to be not with the ADT environment variable caused

Later on the Internet to find information (a lot of incomplete), summed up the solution:

"First" configuration environment variable (green text to mark the code, path for its own SDK path)

Android_home = D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk

Android_platform_tools = D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk\platform-tools

Android_tools = D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk\tools

Finally add in the path variable ( It is important to add all 3 ):;%android_home%;%android_platform_tools%;%android_tools%

"Second" restart cmd

After the variable is finished, the last important step: Close the cmd window above the error, reopen the knock command (before because it did not close, and lead to waste a lot of time, and Baidu came out of the information did not say close this window reopened)

If you see as the results show that we succeeded! If you have any questions, please reply to the discussion.

Reference:

http://stackoverflow.com/questions/26356359/ Error-android-home-is-not-set-and-android-command-not-in-your-path-you-must-ful

http://my.oschina.net/u/1266171/blog/360299

Http://www.tuicool.com/articles/F7RJNf

Android_home is isn't set and "Android" command not in your path resolves

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.