'Failed to download any source list - android SDK
I'm trying to download platform-tools from Sdk Manager. but when I run
C:\android-sdk\cmdline-tools\tools\bin>sdkmanager "platform-tools" "platforms;android-28"
the following warning errors are showing
Warning: Failed to download any source lists!
Warning: IO exception while downloading manifest
Warning: Still waiting for package manifests to be fetched remotely.
Warning: Failed to find package 'platform-tools'
[=== ] 10% Computing updates...
Im having java JDK 8 Help me to fix this.
Solution 1:[1]
I had this problem in my Linux machine, It has something to do with .android folder (Maybe due to previous installations) which is present in ANDROID_SDK_HOME path which usually is your user's folder. In Windows it is C:\Users\<User>\.android and in Linux it is /home/<user>/.android. After hit and trial, I have found that we can do either of the following to solve the issue:
- Simply delete
.androidfolder in the path
OR
- set
ANDROID_SDK_HOMEpath as another directory
and try to run the sdkmanager command again
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kartoos |
