How to Fix “SDK emulator directory is missing” Error in Android Studio

The term “Software Development Kit” is abbreviated as SDK. An Operating System (OS), programming language, or hardware platform manufacturer typically provides a collection of tools called an SDK – Software Development Kit.

The SDK puts together a collection of tools that make it possible to create mobile applications.

When a developer launches the Android Studio application, a box titled – “Downloading components” displays the error message “Android SDK is installed but SDK tools directory is missing“.

So, if you are facing the same issue, attempt the following solutions to fix the “SDK emulator directory is missing” in Android Studio.

Ways to Fix SDK Tools Directory is Missing

Below are some of the solutions you can try on your system to fix this error quickly.

Way 1: Install the tool package

The lack of an SDK tools package could be the cause of the “SDK emulator directory is missing” problem.

To quickly repair this cause, follow the below-given easy steps.

  1. Navigate to the Tools menu, then to the SDK management section.
  2. Now, open the SDK tools option.
  3. Deselect the option to Hide obsolete packages in the bottom right corner.
    Hide obsolete packages
  4. Then continue to download and install obsolete Android SDK Tools.

obsolete sdk

Now, in the SDK directory, a brand-new Tools folder will be created.

Also Find: Best Android Studio Plugins


Way 2: Check the necessary storage space

Another reason for the “SDK emulator directory is missing in the Android Studio” error might be insufficient storage space.

The Android SDK tools package would not get downloaded probably if you did not have the minimum amount of storage, i.e. minimum of 4.53 GB, at the location where you downloaded the file.

storage-space

Perform the following instructions to quickly fix this issue.

  • Uninstall the Android SDK from its default location, i.e.,
    C:\Users\..\AppData\Local\Android\Sdk
  • Then again download the SDK emulator directory.
  • This time ensure that your download location has the minimal amount of storage space needed.
  • After the completion of the process, confirm that the tools folder has been added to the SDK directory.

tools-folder

Also know: How to Install Android Studio on Ubuntu and Linux


Way 3: Check the URL

The Android Studio installer is unable to install the SDK tools package can be due to another reason—a corporate proxy was obstructing the installer’s connection to the web net.

To fix this “Android Studio SDK emulator directory is missing” error, refer to the below steps.

  1. Indicate the location of the PAC file of corporate.
  2. For this, you will need to locate the correct URL.
  3. So, move to the System Preferences section.
  4. Select the Network option.
  5. Go to the Advanced section and then the Proxies section.
  6. Choose the Automatic Proxy Configuration option and there open the Proxy Configuration File.
  7. Find the appropriate URL from there.
  8. Now, once you have the correct URL, move to Configure section.
  9. Open the Appearance and Behavior section.
  10. Choose the System Settings option and move to the HTTP Proxy section.
    proxy
  11. Here, choose the “Automatic proxy configuration URL:” option and enter the appropriate URL.

Way 4: Configure the initial step

Follow the below steps to configure and solve this issue handily.

  • As soon as the “SDK tools directory is missing” error appears, press the “X” option instead of the “Finish” option.
  • Also, select the suggested choice when it prompts you to reinitialize.
  • Then, select the Configure option.
  • Go to the Project Defaults section and then choose the Project Structure option.
  • Now, copy-paste it or browse to the following path:
    C: / Users / .. / AppData / Local/Android / SDK
  • Note: The AppData folder might be hidden.
  • Now, run the project once more.

We hope this proves helpful and solves your problem!

Also know: Top Ways to Install Android Studio on Windows PC


In Conclusion

This troubleshooting guide explains how to fix the “SDK emulator directory is missing” error in Android Studio. Follow all the methods stepwise to effectively fix this issue and use your software development kit tools efficiently. We hope the article helped you with your concern.

If you have any other queries regarding this error, feel free to share them with us in the comments section below. We will surely try our best to solve them.

Moksha shah
Moksha is an engineer who loves to write and solve problems. She is a diverse technical writer and aims to deliver user-friendly content. Being a problem-solving enthusiast, she creates well-researched and helpful content. Apart from writing, you can find her exploring and traveling the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get a Quote

Get in touch with us to request a quote for your business or project idea.

Please enter a vaild name.
Please enter a valid email address.
Please enter a country code.
Please enter a phone number.
Please enter a company name.
Please select a value!
Please select a value!
Please enter a message.