Skip to content

Commit

Permalink
Android Gradle plugin requires Java 11 to run. You are currently usin…
Browse files Browse the repository at this point in the history
…g Java 1.8.
  • Loading branch information
vomw committed Aug 10, 2024
1 parent c159cf0 commit 109fe6e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11.0

# - name: uninstall jdk
# run: sudo apt purge openjdk-*-jdk
Expand All @@ -45,22 +45,22 @@ jobs:
ls -tlh ${ANDROID_HOME}/cmdline-tools/latest/bin/
echo "y" | sudo sh ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.0.6113669"
- name: change gradlew permission and push
- name: check gradlew
run: |
ls -lht gradlew
./gradlew --version
# sudo git update-index --chmod=+x gradlew
sudo chmod a=rwx gradlew
sudo git config --global user.name 'vomw'
sudo git config --global user.email '22770640+vomw@users.noreply.github.com'
sudo git status
sudo git diff
sudo git add gradlew
sudo git commit -m "upadte permission"
sudo git push
# sudo chmod a=rwx gradlew
# sudo git config --global user.name 'vomw'
# sudo git config --global user.email '22770640+vomw@users.noreply.github.com'
# sudo git status
# sudo git diff
# sudo git add gradlew
# sudo git commit -m "upadte permission"
# sudo git push
- name: Build with Gradle
run: |
ls -lht gradlew
export KEYSTORE_PASS=000000000 && export ALIAS_NAME="key0" && export ALIAS_PASS=111111111 && export VERSION_CODE=1 && export VERSION_NAME="GITHUB-${GITHUB_SHA}" && ./gradlew app:copy_language_pack && ./gradlew assembleRelease
Expand Down

0 comments on commit 109fe6e

Please sign in to comment.