diff --git a/.github/actions/pre-build/action.yml b/.github/actions/pre-build/action.yml index 04f3b459a..1ebf203ce 100644 --- a/.github/actions/pre-build/action.yml +++ b/.github/actions/pre-build/action.yml @@ -11,6 +11,12 @@ runs: - name: revert gradle wrapper mirror setting shell: bash run: echo "DISABLE_TENCENT_MAVEN_MIRROR=true" >> $GITHUB_ENV + - name: Add cmdline-tools to PATH + shell: bash + run: echo "$ANDROID_HOME/cmdline-tools/latest/bin" >> "$GITHUB_PATH" + - name: Install specific Android SDK platforms + shell: bash + run: sdkmanager "platforms;android-33" - uses: actions/setup-java@v4 with: distribution: 'temurin'