SDK Platform Android 8.1.0 - Cannot Download

Android SDK manager does not work with this message:

Download SDK Platform Android 8.1.0, API 27, version 1 Download with the wrong size. Expected 65606517 bytes, 65738431 bytes received.

Is there any workaround?

Edit : The download worked correctly with AndroidStudio.

+27
source share
6 answers

: "C:\Program Files (x86)\Android\android-sdk\temp". "platform-27_r01.zip". "android-8.1.0". "android-27". "C:\Program Files (x86)\Android\android-sdk\platform".

SDK , , .

+39

EDIT ( ):

sdkmanager android . , - Google SDK Platform 8.1.0 android.

EDIT ( Travis CI):

-

before_install:
  - yes | sdkmanager "platforms;android-27"

.travis.yml, sdkmanager API 27.


Travis CI, android-27, , . , , ./sdkmanager.bat "platforms;android-27" --verbose .

, , Travis CI, android sdkmanager, android sdkmanager SDK.

, : Download finished with wrong size. Expected 65606517 bytes, got 65738431 bytes.

Travis CI GitHub : https://github.com/travis-ci/travis-ci/issues/8874

+9

. (tools- > options..- > Clear cache) sdk .

+3

, ; -)

:

"C:\Program Files (x86)\Android\android-sdk\temp". 

platform-27_r01.zip. android-8.1.0.

, android-27. .

"C:\Program Files (x86)\Android\android-sdk\platforms"
+1

. !

:

"C:\Program Files (x86)\Android\android-sdk\temp". platform-27_r01.zip. android-8.1.0.

, android-27. .

"C:\Program Files (x86)\Android\android-sdk\platform"

+1

. . SDK 8.1 Android SDK Manager. Google, , , . , .

-1

Source: https://habr.com/ru/post/1690454/


All Articles