sparkfabrik / android-build-action

Build Android project, export .apk, optional upload to BrowserStack App Live.
MIT License
122 stars 21 forks source link

Make it possible to change Java version #29

Open victorbnl opened 1 year ago

victorbnl commented 1 year ago

Newer Android Studio (Hedgehog) projects require Java 17 to be built. There should be an option to use Java 17.

edodusi commented 1 year ago

@EmilianoMorghen I think we should investigate this one

jcardus commented 1 year ago

I'm having the same issue

tachibana-shin commented 1 year ago

This can be easily fixed by installing java 17 first:


      - uses: actions/setup-java@v3
        with:
          distribution: "zulu" # See 'Supported distributions' for available options
          java-version: "17"