Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install "Android SDK Platform Tools" from SDK Manager

Tags:

Below error displays during installation:

Done loading packages. Preparing to install archives Downloading Android SDK Platform-tools, revision 26.0.2 Download interrupted: Connection to https://dl.google.com refused Done. Nothing was installed. Preparing to install archives Downloading Android SDK Platform-tools, revision 26.0.2 Download finished with wrong checksum. Expected 98832431e339c82be1fe910a733a3782071200fd, got aa3ef6f18eff4b8f12dbdf980647a6ce6c2ebe8c. Done. Nothing was installed. 
like image 699
Akhilesh Avatar asked Oct 29 '17 08:10

Akhilesh


People also ask

How do I fix Android SDK Manager not found?

Go to "SDK Tools" and install "Android SDK Tools" and "Android SDK Command-line Tools": You need to open Android Studio then go to Tools > SDK Manager > SDK Tools tab, uncheck the option Hide Obsolete Packages. And install Android SDK Tools and Android SDK Command-line Tools.


2 Answers

I had to install it by myself.

  1. Download link:
    https://developer.android.com/studio/releases/platform-tools.html
  2. Select the zip file SDK Platform-Tools for Windows and extract it.
  3. Move it into your android directory, in my case it was: C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.27659.1188.
  4. Now you have the new directory: C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.27659.1188\platform-tools.
  5. Run SDK Manager.exe again.

In my case, the error was gone. I had to install 4 packages first and then I had to install 3 packages after that. Now it run perfect.

like image 143
Max Avatar answered Oct 15 '22 10:10

Max


You can just extract the archive the SDK Manager already downloaded:

  1. Go to your android-sdk directory
  2. Enter the 'temp' folder
  3. Extract the 'platform-tools_r26.0.2-windows.zip' to the android-sdk root directory

But this makes the checksum pointless, it might be better to wait until it is fixed unless you need the new version now.

like image 24
T - Gott Avatar answered Oct 15 '22 11:10

T - Gott