Install Java 8
This commit is contained in:
parent
6884e2a0f4
commit
14f01dc69b
|
@ -8,7 +8,7 @@ variables:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar unzip lib32stdc++6 lib32z1 openjdk-11-jre
|
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar unzip lib32stdc++6 lib32z1 openjdk-8-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