Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with SDK package download in Android Studio

People also ask

How do I only download Android SDK?

You will need to download the Android SDK without Android Studio bundled. Go to Android SDK and navigate to the SDK Tools Only section. Copy the URL for the download that's appropriate for your build machine OS. Unzip and place the contents within your home directory.

How do I fix Android SDK file not found ADB?

Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above). After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder.


I had this similar issue below worked for me. The solution for this is:

  1. Run Android Studio as Administrator.

  2. Re run the update.

It will work.


delete uncompleted download in "[Android SDK folder]\.downloadIntermediates". i solved my problem by this method.


you can manual download sdk:

  1. https://dl.google.com/android/repository/platform-29_r04.zip
  2. https://dl.google.com/android/repository/3534162-studio.sdk-patcher.zip
  3. https://dl.google.com/android/repository/build-tools_r29.0.3-windows.zip
  4. https://dl.google.com/android/repository/emulator-windows-6306047.zip
  5. https://dl.google.com/android/repository/sources-29_r01.zip
  6. https://dl.google.com/android/repository/platform-tools_r29.0.6-windows.zip

Unpack to

  1. C:\Android\Sdk\platforms\android-2
  2. C:\Android\Sdk\patcher\v4
  3. C:\Android\Sdk\build-tools\29.0.3
  4. C:\Android\Sdk\emulator
  5. C:\Android\Sdk\sources\android-29
  6. C:\Android\Sdk\platform-tools

Parsing

  1. C:\Android\Sdk\build-tools\29.0.3\package.xml
  2. C:\Android\Sdk\emulator\package.xml
  3. C:\Android\Sdk\patcher\v4\package.xml
  4. C:\Android\Sdk\platform-tools\package.xml
  5. C:\Android\Sdk\platforms\android-29\package.xml
  6. C:\Android\Sdk\sources\android-29\package.xml

run the studio.sh script with sudo:

"sudo ./studio.sh"

if that does not work run:

"sudo chmod 777 -R /opt"

without quotes should work


I have a similar problem.

And I notice some setting about Force https//... to be fetched using http://...

After using it, my download run normally:

enter image description here