Android Studio 2.0 SDK有关ANDROID_SDK_HOME的验证警告? [英] Android studio 2.0 SDK Validation warning about ANDROID_SDK_HOME?

查看:546
本文介绍了Android Studio 2.0 SDK有关ANDROID_SDK_HOME的验证警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Android Studio 2.0时遇到此警告.这是什么意思?

I encountered this warning when using Android Studio 2.0. What does this mean?

SDK验证

ANDROID_SDK_HOME设置为SDK的根目录:C:\ Users \ Sujin \ AppData \ Local \ Android \ sdk这是Android工具所需的首选项文件夹的路径.不应将其设置为与SDK的根目录相同.请设置为其他文件夹或完全不设置.如果未设置,则默认为:C:\ Users \ Sujin

ANDROID_SDK_HOME is set to the root of your SDK: C:\Users\Sujin\AppData\Local\Android\sdk This is the path of the preference folder expected by the Android tools. It should NOT be set to the same as the root of your SDK. Please set it to a different folder or do not set it at all. If this is not set we default to: C:\Users\Sujin

推荐答案

您应将SDK目录移至另一个目录,然后移至Android Studio文件夹.这在Android Studio 1.3或1.4中已更改,原因是在补丁机制出现问题之前,如果意外发生了更改,而您又无法更新Android Studio.

You should move out the SDK directory to a distinct directory then the Android Studio folder. This has changed in Android Studio 1.3 or 1.4 the reason is that before the patch mechanism got trouble if there where unexpected changes and you where unable to update Android Studio.

将目录移到外部时,请记住要更新设置( File > Preferences )中的路径,以及 Appearance & Behavior > System Settings > Android SDK 中的路径.

When you moved that directory outside keep in mind to update the path in your settings (File > Preferences) and there in Appearance & Behavior > System Settings > Android SDK.

这篇关于Android Studio 2.0 SDK有关ANDROID_SDK_HOME的验证警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆