在哪里android_sdk_root?和我怎么设置? [英] Where is android_sdk_root? and how do I set it.?
问题描述
我设置android_sdk_home使试图运行时,我的应用程序能找到.android。现在,我得到一个错误,说明android_sdk_root是不确定的。
我正在赢得7,全新的MacBook Pro上安装Android的工作室,里面的相似之处。
I set the android_sdk_home so that my application could find .android when trying to run. Now I get an error stating android_sdk_root is undefined. I am running win 7, new install of android studio, inside parallels on a macbook pro.
感谢您的答复。我检查它的位置和被标识为相同的位置ANDROID_SDK_HOME环境路径。它仍然说根本是不确定的。我创建了一个ANDROID_SDK_ROOT环境路径相同的位置和它仍然是不确定的。
Thank you for your response. I checked the location and it is identified as the same location as the ANDROID_SDK_HOME environment path. It still says root is undefined. I created an ANDROID_SDK_ROOT enviroment path to the same location and it is still undefined.
推荐答案
android_sdk_root是一个系统变量指向的Android SDK工具根文件夹。
你可能得到的错误,因为变量未设置。
要设置Android Studio中去:
android_sdk_root is a system variable which points to root folder of android sdk tools. You probably get the error because the variable is not set. To set it in Android Studio go to:
- 文件 - >项目结构到项目结构
- 左 - > SDK位置
- SDK位置选择Android SDK中的位置
如果您已经安装了Android SDK中请参考这个答案找到它的路径:<一href=\"http://stackoverflow.com/a/15702396/3625900\">http://stackoverflow.com/a/15702396/3625900
If you have installed android SDK please refer to this answer to find the path to it: http://stackoverflow.com/a/15702396/3625900
这篇关于在哪里android_sdk_root?和我怎么设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!