How To Fix Unable To Access Android Sdk Add-on List When Run Android Studio For The First Time

When I run an android studio on mac os for the first time after installing it, it popup a dialog with the error message Unable To Access Android Sdk Add-on List. This article will tell you how to fix this issue.

1. Fix Unable To Access Android SDK Add-On List Error Steps.

  1. Click the Cancel button in the above popup dialog. Then it will show you the Missing SDK window in the Android Studio Setup Wizard. The title is No Android SDK found, the detailed message is Before continuing, you must download the necessary components or select an existing SDK.
  2. Just click the Next button in the above wizard window then it will popup the android SDK Component Setup window. In this window, you should check the components ( android SDK platform ) which you want to update/install.
  3. Select the android SDK component in the left list panel. By default, it will list the most recent Android SDK version. Then click the Next button,  Then it will download the android SDK component that you select.
  4. But if you can not see the above popup window, maybe your java version is not suitable for the android studio. So you need to change your default java version to such as java 8. You can find the related articles in the references section at the end of this article.
  5. When the download is complete, click the Finish button, then it will open the android studio welcome page.

2. Add Other Android SDK Platform In Android Studio.

  1. If you want to use other android SDK platforms when you run an android studio, you can follow the below steps. Below android studio is run on mac os x.
  2. Open android studio.
  3. Click Android Studio —> Preferences… menu item on the top left corner in macOS.
  4. Then it will open the android studio preferences window. Click Appearance & Behavior —> System Settings —> Android SDK  menu item in the left panel, it will show all the available android SDK platform lists in the right panel.
    android-preferences-sdk-list
  5. Select the android SDK platform you want to install and click the OK button, then it will popup a Confirm Change window, click the OK button to confirm the changes.
    android-preferences-sdk-list-comfirm-changes-dialog
  6. Now the License Agreement window will popup, select Accept radio button, then click the Next button to start the download and install the selected android SDK platform. After downloading, click the Finish button. Now go to the android studio —> preferences —> Android SDK panel to check the new SDK has been checked.

3. Unable to access Android SDK add-on list after reinstalling android studio.

3.1 Question(2022/05/18).

  1. I reinstalled my Android Studio these days, and when I run it for the first time after reinstalling. I encounter the error message Unable to access Android SDK add-on list.
  2. Following the instructions, I configured the proxy settings by clicking Setup proxy and checking the Auto-detect proxy, and all the connection is successful.
  3. But when I click the OK button, it still shows the Unable to access Android SDK add-on list error. My OS is windows. How can I fix this?

3.2 Answer1.

  1. Maybe this is because of your firewall, you can turn your firewall off and add the android.bat file to the windows firewall trusted files, then you can check whether this can fix the error or not.
  2. You can also follow the below steps.
  3. 1. Make sure you are connecting with the internet.
  4. 2. Clear all the network adapter or router DNS settings in your network.
  5. 3. Turn your firewall off entirely.
  6. 4. Exit all the applications that have heavy internet usage, those applications may slow down your network connection.
  7. 5. Exit android studio, and run android SDK Manager to make sure all the components that require updates are updated.
  8. 6. Run the android studio again.

3.3 Answer2.

  1. I use the android studio on Ubuntu 18 and meet this issue also.
  2. Then I set up the proxy in my ubuntu network configuration section, and I can browse the internet with the proxy server.
  3. I also set up the proxy server in the ubuntu environment variable http_proxy and https_proxy.
  4. My java version is 1.7, I can check it with the command javac -version.
  5. And I run the command sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 to install the required libraries because my os is 64 bit Ubuntu OS.
  6. Then the issue is fixed.

3.4 Answer3.

  1. You can open the file C:\< Android Studio Install Path >\bin\idea.properties in a text editor.
  2. Then change the disable.android.first.run value from false to true like below.
    disable.android.first.run=true
  3. Restart your android studio, then the issue will be fixed.

3.5 Answer4.

  1. If you are using windows, you can configure the windows firewall to allow the android studio to communicate through the Windows firewall as below.
  2. Click the Windows Settings ( Windows 10 ) icon to open the Windows Settings dialog window.
  3. Search the keyword firewall in the search box and click the Allow an app through Windows Firewall item in the drop-down list to open the Allowed apps window.
  4. Click the Change settings button and then check the checkbox before AndroidStudio in the Allowed apps and features list.
  5. Click the OK button to save the changes. Now restart android studio and you may find the issue has been fixed.
  6. If you use Windows 7  or other older versions, you can access the above in Control Panel —> System and Security —> Windows Firewall —> Allowed Programs section.

3.6 Answer5.

  1. I start Android Studio by executing the ./studio.sh file in my Ubuntu version 18.
  2. Then it tells me that read time out when downloading the file http://dl.google.com/android/repository/addons_list-3.xml.
  3. I use the system Socks5 proxy.
  4. I find the below solution can fix this issue.
  5. Edit the {Android Studio Install Path}/bin/idea.properties file and add the text line disable.android.first.run=true at the end of this file.
  6. The above code will make android studio bypass the Android SDK checking process when your start it up.
  7. Now run the ./studio.sh file to start Android Studio again, it can start Android Studio normally.
  8. But when I click the “new project” item to create a new android project, it will prompt the message No Android SDK is available.
  9. Then open the Android SDK manager, and select to install Android SDK that you need.
  10. Then change the text disable.android.first.run=true to disable.android.first.run=false in the {Android Studio Install Path}/bin/idea.properties file.
4.7 6 votes
Article Rating
Subscribe
Notify of
guest

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

1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Leyenda
Leyenda

Thanks for you share

Clicky
1
0
Would love your thoughts, please comment.x
()
x