Android Studio 1.5 Starts the fix for "SDK manager:failed to install" issue

Source: Internet
Author: User

Problem description

Android Studio 1.5 is currently the latest Android mobile app development platform, after downloading the bundle version installed, the "SDK manager:failed to install" issue appears after starting Studio. Detailed information is as follows:

android SDK was installed to \ c USERS\JACK\APPDATA\LOCAL\ANDROID\SDK

Installing Archives:
  Preparing to install Archives
  Installing SDK Platform Android 6.0, API Revision 2
  Failed to rename directory C:\Users\jack\AppData\Local\A Ndroid\sdk\platforms\android-23 to C:\USERS\JACK\APPDATA\LOCAL\ANDROID\SDK\TEMP\REMOTEPLATFORMPKGINFO.OLD01.

SDK manager:failed to install
-= Warning! =-
A folder failed to be moved. On the windows this typically means, a program was using that folder (for example Windows Explorer or your anti-virus softw Is.)
Please momentarily deactivate your anti-virus software or close any running programs so may be accessing the Directo Ry ' C:\Users\jack\AppData\Local\Android\sdk\platforms\android-23 '.
When ready, press YES to try again.
note:you  can use--force to override to Yes.

Problem analysis

1, online according to the "SDK manager:failed to install" keyword search, basic is and old version of the relevant, not to be.

2,studio itself tip is to turn off the antivirus program, in fact, and anti-virus programs, still no avail.

3, in fact, the problem is obvious, is C:\Users\jack\AppData\Local\Android\sdk\temp This directory can not be written to view this directory, found that the "read-only" property is set.

Problem solving

C:\Users\jack\AppData\Local\Android\sdk\temp This directory is self-built by Andriod Studio Installer, the installer itself dug a hole for itself, the SDK under the Temp directory is set to read-only, Error causing the program to start updating the SDK to write to the temp directory.

Remove the read-only attribute from the temp directory and the SDK update succeeds after Android studio restarts!

Android SDK was installed to C:\USERS\JACK\APPDATA\LOCAL\ANDROID\SDK

Installing Archives:
Preparing to install archives
Installing SDK Platform Android 6.0, API 2, Revision
installed SDK Platform Android 6.0, API 2, Revision
Done . 1 package installed.
Android SDK is up to date.
Creating Android Virtual device
Android Virtual device nexus_5_api_23_x86 was successfully created

98

Android Studio 1.5 Launches the "SDK manager:failed to install" issue resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.