Updating Android SDK: “A folder failed to be moved.”

前端 未结 25 1794
面向向阳花
面向向阳花 2020-12-07 10:29

While trying to update my Android SDK I am encountering this error when trying to install this particular package:

相关标签:
25条回答
  • 2020-12-07 10:51

    In Ubuntu following solved issue for me

    1. cd [tools/directory/path]
    2. sudo ./android
    0 讨论(0)
  • 2020-12-07 10:52

    The problem seems to be that Eclipse, or even the SDK Manager itself, locks the folder. Running android.bat from the tools folder should do the trick.

    0 讨论(0)
  • 2020-12-07 10:52

    My solution was to start it from within eclipse - as Administrator.

    0 讨论(0)
  • 2020-12-07 10:52

    Close the currently launched android studio window from task manager by going to the studioprocess (So when closed there are currently no active studio windows). Then go to Android studio in windows explorer, select the studio64/studio(if 32 bit OS) and right click and select run as administrator. In one line - you need to run Android Studio as a administrator.

    0 讨论(0)
  • 2020-12-07 10:55

    thanks. this is how I fixed it:

    I updated the tools by hand in this case. Which means close the SDK-manager after the error and open the folder android-sdk-windows folder. Using LockHunter, unlock all programs from holding a lock on the android-sdk-windows\tools\ folder. http://lockhunter.com/?ver=&vertype=pro&sm=main_window_64

    RENAME the android-sdk-windows\tools folder beforehand to tools_DELETEME There should be a zip named android-sdk-windows\temp\tools_r19-windows.zip. open that, You should see a tools folder in it. Copy that tools folder to android-sdk-windows\tools

    After that, start the SDK-manager again. The tools version should be updated.

    0 讨论(0)
  • 2020-12-07 10:55

    With windows 7, when "failed to install popup" appears kill the process called adb (from task manager ctrl+alt+del) then press "Yes" and stuff is being installed.

    0 讨论(0)
提交回复
热议问题