我一直在尝试解决这个问题,但最后还是忍不住。
我尝试下载 android sdk 软件包,sdkmanager
但每次我尝试这样做时都会弹出错误消息,我无法下载请求的软件包,以下是我的终端上写的所有内容:
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
有人可以帮我解决这个问题,以便我可以下载所需的 sdk 吗?