Android Studio unable to download SDK?

java.io.IOException: Unable to load, Response: 200 OK Warning: Error preparing SDK for Android Support: Unable to load, Response: 200 OK. java.io.IOException: Unable to download ' https://dl.google.com/android/repository/emulator-windows-3833124.zip ': dl.google.com Attention! An error occurred while preparing the SDK. Android Emulator : Unable to load ' https://dl.google.com/android/repository/emulator-windows-3833124.zip ': dl.google.com. java.io.IOException: Unable to load 'Warning: An Error preparing the SDK. Google Repository: Can not download

+3


source to share


2 answers


I got this similar problem below worked for me. Solution for this:

  • Run Android Studio as Administrator.

  • Run the update.



It will work.

+13


source


As shown in Android SDK file./studio.sh needs to be started, however, if launched without sudo or su, it can cause problems like this. Therefore, you must work with sudo or su as shown below:

  • sudo./studio.sh(or/path/to/studio.sh)

or if you want to run as root



  • su
  • Password: root password
  • ./studio.sh or (or / path / to / studio.sh) This should fix the problem There might be a problem with / tmp if it's on a different partition and the partition has less space than the installation needs

Hope this helps.

-1


source







All Articles