Search code examples
android-studioandroid-emulatorideandroid-sdk-toolsandroid-sdk-manager

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


I decided to completely uninstall android studio to fix problem related with emulator and I have followed the steps on this answer, and after I downloaded the last version when I installed it I see this screen

enter image description here

enter image description here

android studio see's that an SDK files installed on my device although everything related to the old installation of the program has been deleted, now I need to force AS to download the android SDK again, but I need to know Why it's show there's a remines of old install, and How to fix that

enter image description here

Update 01
After multiple uninstall and reinstalling android studio and all my tries fails to do a fresh install of it with new sdk and tools, I decided to reset my windows system and installed the fresh copy of it but I shocked when I see that the new installed also getting the same error, the AS see that there's installed SDK on my partition even though it's a completely new copy installation of windows, I wondering if the AS keep some hidden/temp files on other partition disk and this casue the problem?!

Update 02

I reported this issue to google and it looks it's a general issue, the bug assigned to someone, please star it to attract more attention and quickly solve it


Solution

  • Delete everything first, everything in the user is in the Google file, there are files for Android, delete them, the old Sdk and the program

    C:\Users\<your user>\AppData\Local\Google
    
    C:\Users\<your user>\AppData\Roaming\Google
    

    Now go to the Android page to download the Android, but the older version is from the archive

    See the Android Studio release notes. More downloads are available in the download archives.

    And click on download from the archive or go to the direct link https://developer.android.com/studio/archive Then look for the version Android Studio 3.6.3 April 17, 2020

    Then click on it and download the appropriate version for your system

    Now after the normal install Download all the appropriate emulators and operating systems for you and all the tools you need And in the end, go to updates and then to check update To download the

    latest version of Android 4.2.1

    The problem returns, but you will now have the required emulators, SDK tools and everything you need.