본문 바로가기

Android Studio

[Android Studio] testing-sample code 돌려보려다 만난 에러: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable

내 깃허브에 fork한 testing-sample 코드를 돌려보려다 에러를 만났다.

해결방법은: 해당 프로젝트 폴더에 가서 local.properties 파일을 만든다.

윈도우 운영체제에서는 sdk.dir = C:/Users/USERNAME/AppData/Local/Android/sdk 를 local.properties에 추가하고 저장한다.

참고: https://stackoverflow.com/questions/27620262/sdk-location-not-found-define-location-with-sdk-dir-in-the-local-properties-fil

 

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable

I recently tried to import sample Android games I downloaded from Google's developer website. After importing them into Android Studio, I'm getting the following error: Error: SDK location not f...

stackoverflow.com