title: Error installing SDK through sdkmanager in Android Studio
body: <p>I was trying to install GPU Debugging tool from the sdkmanager of Android Studio. But the following error came:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>This was the log.</p>
  
  <pre><code>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 com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:537)
      at com.intellij.util.io.HttpRequests.process(HttpRequests.java:513)
      at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:61)
      at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:363)
      at com.android.tools.idea.sdk.StudioDownloader.doDownloadFully(StudioDownloader.java:193)
      at com.android.tools.idea.sdk.StudioDownloader.lambda$doDownloadFully$2(StudioDownloader.java:223)
      at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:537)
      at com.intellij.util.io.HttpRequests.process(HttpRequests.java:513)
      at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:61)
      at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:363)
      at com.android.tools.idea.sdk.StudioDownloader.doDownloadFully(StudioDownloader.java:193)
      at com.android.tools.idea.sdk.StudioDownloader.downloadFullyWithCaching(StudioDownloader.java:140)
      at com.android.repository.impl.installer.BasicInstaller.doPrepare(BasicInstaller.java:71)
      at com.android.repository.impl.installer.AbstractPackageOperation.prepare(AbstractPackageOperation.java:337)
      at com.android.tools.idea.sdk.wizard.InstallTask.preparePackages(InstallTask.java:253)
      at com.android.tools.idea.sdk.wizard.InstallTask.run(InstallTask.java:120)
      at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894)
      at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
      at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
      at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
      at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
      at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
      at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:408)
      at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
  2020-05-04 15:26:06,960 [  35767]   INFO - ectedPackagesStep$CustomLogger - Failed packages: 
  2020-05-04 15:26:06,960 [  35767]   INFO - ectedPackagesStep$CustomLogger - - GPU Debugging tools (extras;android;gapid;3) 
  </code></pre>
  
  <p>On searching the internet I came through this <a href="https://stackoverflow.com/questions/26499617/android-sdk-manager-download-finished-with-wrong-checksum">question</a>. But There is no tools option in sdkmanager window.</p>
  
  <p>My System:
  Android Studio 3.6.3
  Xubuntu 20.04
  JDK version 11</p>