如何设置ANDROID_SDK_HOME环境变量? [英] How do I set ANDROID_SDK_HOME environment variable?
问题描述
错误:解析AVDs时出错
无法使用获取Android SDK主目录。
确保环境变量ANDROID_SDK_HOME已设置。
我知道问题是什么是因为它链接到错误的目录C:users:????
如何将此环境变量android_sdk_home设置为正确的目录?
请给我确切的步骤,如打开 cmd.exe
,键入这个等我不好在此,我从来没有编码任何其他网站。
如果你面对同样的错误,步骤说明:
- 打开控制面板
- 然后转到系统
- 然后转到用户的更改环境变量
- 然后点击创建一个新的环境变量
- 创建一个名为ANDROID_SDK_HOME的新变量
-
- 将其值设置为您的Android目录,如
C:/ users /< username> /。android
I'm working with Eclipse on Windows 7, x64. I'm getting an error when running ADT bundle of android development:
Error: Error parsing the AVDs
Unable to get the Android SDK home directory.
Make sure the environment variable ANDROID_SDK_HOME is set up.
I know what the issue is. Is it because it is linked to a wrong directory C:users:????
How do I set this environment variable android_sdk_home to the proper directory?
Please give me precise steps on how to do it such as open cmd.exe
, type this etc. I'm not good at it, I've never coded anything other that websites.
If you face the same error, here are the step by step instructions:
- Open control panel
- Then go to System
- Then go to Change Environment Variables of the User
- Then click create a new environment variables
- Create a new variable named ANDROID_SDK_HOME
- Set its value to your Android directory, like
C:/users/<username>/.android
这篇关于如何设置ANDROID_SDK_HOME环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!