Hi Travis,
We have requirement for migrating to Android12. so I have made following changes to the travis.yml file.
before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager “platforms;android-31”
- yes | sdkmanager “build-tools;31.0.0”
But I am getting following error at travis.
Build-tool 31.0.0 is missing DX at /usr/local/[secure]-sdk/build-tools/31.0.0/dx
Build-tool 31.0.0 is missing DX at /usr/local/[secure]-sdk/build-tools/31.0.0/dx
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ‘:app:bundleExperimentalDebugResources’.
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
Please help me in fixing the issue.
Let me know if you need more info
Thanks ,
Krishna Chaitanya.