Install Java again
This commit is contained in:
parent
63c55f906e
commit
6884e2a0f4
|
@ -8,7 +8,7 @@ variables:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y wget tar unzip lib32stdc++6 lib32z1
|
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar unzip lib32stdc++6 lib32z1 openjdk-11-jre
|
||||||
- wget --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
|
- wget --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
|
||||||
- unzip -d android-sdk-linux android-sdk.zip
|
- unzip -d android-sdk-linux android-sdk.zip
|
||||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}"
|
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}"
|
||||||
|
|
Loading…
Reference in New Issue