diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3937d856..6bcd7d5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ variables: before_script: - apt-get --quiet update --yes - apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 - - wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/android-sdk_r${ANDROID_SDK_TOOLS}-linux.tgz + - wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/repository/tools_r${ANDROID_SDK_TOOLS}-linux.zip - tar --extract --gzip --file=android-sdk.tgz - echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter android-${ANDROID_TARGET_SDK} - echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter platform-tools @@ -17,6 +17,7 @@ before_script: - echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-google_play_services - echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-m2repository - export ANDROID_HOME=$PWD/android-sdk-linux + - export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/ - chmod +x ./gradlew build: @@ -24,4 +25,4 @@ build: - ./gradlew assembleDebug artifacts: paths: - - app/build/outputs/ \ No newline at end of file + - app/build/outputs/