Problema no download de sdks usando o sdkmanager

1

Eu tenho tentado resolver esse problema por um tempo e está ficando no meu último nervo.
Estou tentando baixar pacotes do Android sdk através de sdkmanager , mas toda vez que tento fazer uma mensagem de erro aparece e não consigo baixar os pacotes solicitados, aqui está tudo o que está escrito no meu terminal:

mahmood@mahmood-Lenovo-B50-30:~$ cd AndroidSDK/android_sdk/tools/bin/
mahmood@mahmood-Lenovo-B50-30:~/AndroidSDK/android_sdk/tools/bin$ ./sdkmanager "platforms;android-26"
Warning: Errors during XML parse:
Warning: White spaces are required between publicId and systemId.
Warning: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 62; White spaces are required between publicId and systemId.
Warning: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 62; White spaces are required between publicId and systemId.]
Warning: Additionally, the fallback loader failed to parse the XML.
Warning: File /home/mahmood/.android/repositories.cfg could not be loaded.
Warning: White spaces are required between publicId and systemId.
Warning: Failed to parse source list at https://dl.google.com/android/repository/addons_list-3.xml
Warning: Failed to find package platforms;android-26

Alguém poderia me ajudar a resolver esse problema para que eu possa fazer o download dos sdks necessários?

    
por Mahmood Darwish 08.08.2017 / 15:21

0 respostas