paulalexandru
paulalexandru

Reputation: 9530

No Android SDK found SDK tools directory missing

Basically I just installed for the first time in my life Android Studio android-studio-ide-182.5264788-windows.exe and when I open it I get:

Missing SDK, No Android found SDK found

I also checked this path: C:\Users\<user>\AppData\Local but I have not found and Android folder there because I was looking for C:\Users\<user>\AppData\Local\Android\Sdk

If I press next next finish I get:

Nothing to do!
Android SDK is up to date.
SDK tools directory is missing

I have also checked all kind of solutions posted on the internet but none of them fixed my problem.

Upvotes: 4

Views: 14548

Answers (4)

Nirali
Nirali

Reputation: 181

After installation Click on configuration Go to SDK manager -> SDK tools and uncheck “Hide Obsolete Packages”

Refer the image after that check the mentioned package and install it – C:\Users..\AppData\Local\Android\Sdk\tools\bin is created or not.

After creating project

  • Go to Tools
  • AVD manager
  • Your virtual device -> Create virtual device
  • Select Hardware :- Nexus 5x (Resolution)
  • Next
  • Check the latest or download latest one (OS)
  • Next
  • As it is default settings
  • Launch Virtual device

Upvotes: 0

AreRex14
AreRex14

Reputation: 49

network adapter ipv4 settings or proxy.. I checked that, then it solved.

Upvotes: 0

paulalexandru
paulalexandru

Reputation: 9530

I figured it out meanwhile but I forgot to update the question. Basically I had those issues because of the corporate proxy which was blocking some resources when installation was in progress.

The solution for me was to configure the proxy inside Android Studio under System Settings > HTTP Proxy. I have set it to Manual proxy configuration.

Besides this I also had to configure some security certificate inside the Java Version which was used by Android Studio. I used this code to do that: https://knowledge.digicert.com/solution/SO4085.html

The last thing was to run this: sdkmanager --licenses. I tried first in cmd but it was not working, I don't know for what reason but after I tried in Idea it worked.

After all of these, it worked. I had a small issue with the .. but it got fixed after I went in Setings > Build, Execution, Deployment > Instant Run and disabled Instant Run.

Upvotes: 5

qux
qux

Reputation: 555

Download the zip file: http://dl.google.com/android/android-sdk_r24.4.1-windows.zip
Unzip it to SDK directory, and files like this:
D:\Android_sdk\platforms
D:\Android_sdk\tools
D:\Android_sdk\SDK Manager.exe
D:\Android_sdk\SDK Readme.txt

Restart Adnroid Studio, Configure->SDK Manager
Then you can change the Android SDK Location to your SDK path

Upvotes: 3

Related Questions