Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDK Platform Android 8.1.0 - can't download

Tags:

android

Android SDK manager fails with this message:

Downloading SDK Platform Android 8.1.0, API 27, revision 1 Download finished with wrong size. Expected 65606517 bytes, got 65738431 bytes.

Is there a workaround?

Edit: Download worked correctly from AndroidStudio.

like image 321
activity Avatar asked Dec 08 '17 17:12

activity


People also ask

How do I download platform tools SDK?

Install the Android SDK (software development kit): 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.

Which Android SDK platform should I install?

According to Microsofts article "Which Android SDK packages should I install?" Install the "SDK Platform" for the Android versions you've set as minimum & target.


1 Answers

When download fails, you can notice a temp folder for this path:"C:\Program Files (x86)\Android\android-sdk\temp". There should be a file called "platform-27_r01.zip". Copy it out and extract the "android-8.1.0" folder. The next step, rename it to "android-27". Then, copy it to the path "C:\Program Files (x86)\Android\android-sdk\platforms".

Open the SDK manager again, you will notice it is solved.

like image 101
Leo Li Avatar answered Sep 21 '22 13:09

Leo Li