Hi,
I use this following travis.yml
language: android
jdk: oraclejdk11
env:
global:
- BUILD_API=31
- BUILD_TOOLS=31.0.0
- ANDROID_HOME=/usr/local/android-sdk
- TOOLS=${ANDROID_HOME}/cmdline-tools/latest
android:
components:
- tools
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
# Install cmdline-tools (older tools doesn't support Java 11)
- wget -q "https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip" -O android-commandline-tools-linux.zip
- mkdir -p ${ANDROID_HOME}/cmdline-tools
- unzip -q android-commandline-tools-linux.zip -d ${ANDROID_HOME}/cmdline-tools
- mv ${ANDROID_HOME}/cmdline-tools/cmdline-tools ${ANDROID_HOME}/cmdline-tools/latest
before_script:
- echo y | ${TOOLS}/bin/sdkmanager "platform-tools" >/dev/null
- echo y | ${TOOLS}/bin/sdkmanager "tools" >/dev/null
- echo y | ${TOOLS}/bin/sdkmanager "build-tools;$BUILD_TOOLS" >/dev/null
- echo y | ${TOOLS}/bin/sdkmanager "platforms;android-$BUILD_API" >/dev/null
- echo y | ${TOOLS}/bin/sdkmanager "extras;android;m2repository" >/dev/null
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cach
git:
quiet: true
submodules: false
script:
- bash ci/travis/build.sh
And from yesterday I have tis error :
I don’t know how to fix that, could you please help me ?
Thanks