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

问题描述

我在使用 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 &行为系统设置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_SDK_HOME 的 Android studio 2.0 SDK 验证警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 23:33