Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

an issue updating Android SDK Tools rev 19 to rev 20 using windows 7- 64bit

Tags:

android

sdk

I have an issue updating the android SDK tools rev 19 to rev 20 & Android SDK Platform-tool rev 11 to rev 12.

I checked the SDK manager log and it displayed the below error:

File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r12-windows.zip (Access is denied)

Skipping 'Android SDK Tools, revision 20'; it depends on 'Android SDK Platform-tools, revision 12' which was not installed.

Done. Nothing was installed.

like image 484
Salhieh1985 Avatar asked Jun 28 '12 23:06

Salhieh1985


People also ask

How do I upgrade to the latest SDK?

To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool. When an update is available for a package you already have, a dash appears in the check box next to the package.

How install Android SDK tools on Windows?

In your browser on the PC, open the Android SDK download page and click Download the SDK Tools ADT Bundle for Windows. On the Get the Android SDK page, you can select either 32-bit or 64-bit, according to your Windows platform. This download includes the SDK tools and the Eclipse IDE.


3 Answers

Have you tried running the SDK Manager "as administrator" ?

Following steps to run SDK manager as administrator on windows 7

  • Right Click SDK Manager
  • Select Run As Administrator
  • Click the YES button (if asked for)
like image 141
franckysnow Avatar answered Oct 20 '22 07:10

franckysnow


This method works only for Windows 7 x64 :

  1. Right click on SDK.exe
  2. Click Properties
  3. Select Compatibility
  4. Check on Run This Program in Compatibility mode for Windows XP SP3.
  5. Run this Program as Administrator.
  6. Apply & Ok
like image 23
Javaid Ali Avatar answered Oct 20 '22 07:10

Javaid Ali


Try this:

  • Dowload zip file from this link.
  • Navigate to C:\Program Files (x86)\Android\android-sdk\temp\ and extract dowloaded file to this folder
  • It will rewrite your platform tools folder.
  • Download SDK tools revision 20 from here and add it to temp folder.

That's it. It works for me.

like image 32
Vukašin Manojlović Avatar answered Oct 20 '22 06:10

Vukašin Manojlović