[안드로이드] SDK Validation ANDROID_SDK_HOME is set to the root of your SDK

 

안드로이드 스튜디오에서 다음과 같은 에러가 날 때가 있습니다.

SDK Validation
ANDROID_SDK_HOME is set to the root of your SDK: C:\Users\username\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\username

 

이것은 ANDROID_SDK_HOME 이라는 시스템 변수가 C:\Users\사용자명\AppData\Local\Android\Sdk 로 되어 있어서 나타나는 문제입니다. 이럴 때에는 제어판의 시스템 항목에 있는 환경 변수 목록에서 ANDROID_SDK_HOME 을 찾아서 지워주시면 문제가 해결됩니다. ANDROID_SDK_HOME 항목을 지워주시면 안드로이드 스튜디오가 알아서 자동으로 적당한 경로를 찾게 됩니다.

 

+ Recent posts