SDK位置在Android Studio中未发现 [英] SDK Location not found in android studio
问题描述
我刚刚进口在Android Studio中我的Eclipse项目。它让我说,
I have just imported my eclipse project in android studio. it keeps my saying that
Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
我见过的编辑local.properties文件的一些教程,但它没有工作。这里是我的project.properties文件:
I have seen some tutorials of editing local.properties files but it didnt work. here is my project.properties file:
sdk.dir=E:\\Mod Eclipse\\adt-bundle-windows-x86_64-20130219\\sdk
我的文件夹的实际目录是:
Actual directory of my folder is :
E:\\mod的Eclipse \\ ADT-束Windows的x86_64-20130219 \\ SDK
推荐答案
您也应该改变它的项目结构。
You should also change it on Project Structure.
-
关闭当前的项目,你会和对话框,you2ll然后进行配置选项弹出。
Close the current project and you'll be pop up with dialog which you2ll then proceed to Configure option.
配置 - >项目默认设置 - >项目结构 - >在左栏的SDK - > Android SDK中主路径 - >像你一样对local.properties给出确切的路径,并选择有效的目标
Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local.properties and select Valid Target.
你去那里。
这篇关于SDK位置在Android Studio中未发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!