Remove all corrupted SDK package.xml files before build
Uses find to remove all corrupted package.xml files in the Android SDK platforms directory, not just android-35. This fixes issues with android-36-ext19 and other platform versions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ stages:
|
||||
before_script:
|
||||
- export GRADLE_USER_HOME=$(pwd)/.gradle
|
||||
- chmod +x ./gradlew
|
||||
- rm -f /opt/android-sdk/platforms/android-35/package.xml || true
|
||||
- find /opt/android-sdk/platforms -name "package.xml" -exec rm -f {} \; || true
|
||||
- yes | sdkmanager "platforms;android-35" || true
|
||||
- yes | sdkmanager --licenses || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user