No Android SDK found SDK tools directory missing

paulalexandru picture paulalexandru · Mar 1, 2019 · Viewed 9.5k times · Source

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.

Answer

paulalexandru picture paulalexandru · Apr 2, 2019

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.