Android Studio - unable to move Android SDK

I am trying to install Android Studio for the first time. When I try to start the application, the installation wizard tries to download some components, but then gives the following error:

Connecting to 'http://dl.google.com/android/android-sdk_r22.6.2-windows.zip'... Downloading 'android-sdk_r22.6.2-windows.zip' from 'http://dl.google.com/android/android-sdk_r22.6.2-windows.zip'... Unpacking android-sdk_r22.6.2-windows.zip Unable to move Android SDK 

Any ideas?

+5
source share
5 answers

When using Android Studio on Windows computers, I often came across this particular problem. Running Android Studio as an administrator (contextually clicking on the application icon> Run as administrator) fixed the problem in all cases that I have had so far.

I assume that Android Studio does not have write permission to the path that is used and therefore requires extended permissions. However, on Linux and Mac OS, I have not had similar problems with Android Studio yet.

+10
source

The solution is the way to go. Before installing the missing sdk page for Android, you will see the setup wizard - sdk settings page. There is a bottom of the page path and it must be changed with the correct path, for example:

C:\Program Files\Android SDK

and then click the end button. You will automatically download the necessary files.

After that you need to create a new project folder

(name = AndroidStudioProjects), the folder name must be this name, it is so important.

in your users folder. eg,

C: \ Users \ 'your computer name' \ AndroidStudioProjects

He tried and confirmed himself. This may be my first decision, but I'm using right now.

0
source

For OSX users - just reinstall Android Studio and everything will work fine

0
source

Sounds like an access problem when unpacking the SDK. This could be a permission issue or (in my case) the default SDK path resolved to a network share.

As he walks through the setup wizard, he asks if you want to use either standard or user preference. The default is standard. However, when you use the Custom option, one of the pages is the location of the SDK folder. Make sure you have access to this path or choose another one.

0
source

I had the same problem. Just run Android Studio, as the administrator will solve the problem.

0
source

Source: https://habr.com/ru/post/1211156/


All Articles