Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android-studio Selected directory is not valid home for Android SDK

I installed android studio but while selecting android SDK I am getting following error. I tried solution which is on this post but no luck. How can I solve this?

error screenshot 1

error screenshot 2

like image 994
vnshetty Avatar asked May 17 '13 09:05

vnshetty


People also ask

How do I fix the SDK emulator directory is missing?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.

How can I change SDK path in Android Studio?

To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. You can navigate to the Android SDK location in File Explorer, copy the path from the address bar, and paste this path into the Android SDK Location box.

Where is Android SDK installed?

by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".


2 Answers

I had this problem, select SDK folder (NOT SDK->sources or SDK-platforms)

like image 131
Abbath Avatar answered Oct 13 '22 23:10

Abbath


I resolved with the instructions here, http://www.blog.teamguru.in/2018/04/06/selected-directory-is-not-a-valid-home-for-sdk/

  1. Just close current error window and let run the android studio
  2. Open the SDK manager as shown below
  3. Click on Edit SDK location as shown below
  4. Simply press next button if there is correct location for SDK you want to install there
  5. Let it be downloaded
  6. Install platform and SDK tools and
  7. Enjoy
like image 36
user3762527 Avatar answered Oct 14 '22 00:10

user3762527