安装期间显示以下错误:
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.
Run Code Online (Sandbox Code Playgroud) 我试图从 Android Studio 的 sdkmanager 安装 GPU 调试工具。但出现了以下错误:
Packages to install:
- GPU Debugging tools (extras;android;gapid;3)
Preparing "Install GPU Debugging tools (revision: 3.1.0)".
Downloading https://dl.google.com/android/repository/gapid_2994895_linux.zip
This download could not be finalized from the interim state. Retrying without caching.
Downloading https://dl.google.com/android/repository/gapid_2994895_linux.zip
Failed packages:
- GPU Debugging tools (extras;android;gapid;3)
Run Code Online (Sandbox Code Playgroud)
这就是日志。
2020-05-04 15:26:06,959 [ 35766] WARN - ls.idea.sdk.wizard.InstallTask - Checksum of the downloaded result didn't match the expected value.
java.lang.IllegalStateException: Checksum of the downloaded result didn't match the expected value.
at com.android.tools.idea.sdk.StudioDownloader.lambda$doDownloadFully$2(StudioDownloader.java:216)
at …Run Code Online (Sandbox Code Playgroud)