Reputation: 1
I'm trying to install Android SDK packages using the sdkmanager
command, but I keep encountering an error related to XML parsing. Here's the command I'm running and the output I get:
Command:
sdkmanager --verbose "platform-tools"
Output:
Info: Parsing /home/wi2david/development/android-sdk/cmdline-tools/latest/package.xml
Info: Parsing /home/wi2david/development/android-sdk/platform-tools/package.xml
Info: Parsing /home/wi2david/development/android-sdk/tools/package.xml
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.
[=======================================] 100% Computing updates...
Despite the process seeming to compute updates, it doesn't install the package. I’ve verified the paths, and the required directories exist.
Environment:
Steps I've Tried:
sdkmanager
.JAVA_HOME
is set correctly.Despite these checks, the error persists. What could be causing the XML parsing issue, and how can I resolve it?
Any help would be greatly appreciated!
Upvotes: 0
Views: 124