I upgraded to Android Studio 2024.3.2 Patch 1 locally, and then:
- The AGP and Gradle versions were bumped using Android Studio's
Upgrade Assistant. It also made some required config changes:
- The package name was moved from AndroidManifest.xml to
build.gradle
- Some stuff was added to gradle.properties
- I updated the CI and build docs for these changes.
- The Kotlin plugin version was manually updated due to an
incompatibility with the newer JDK bundled with Android Studio,
as suggested here: https://stackoverflow.com/a/79167210
- JDK target versions for Java and Kotlin were specified in order
to fix the newly-fatal error when they don't match.
Change-Id: I4a9e838cf4b3f8243fc66d4dc3a4e1b3194a8baf
In order to support this, resource files are now looked up from the
bundle, and user data is now stored in Application Support. The old
behaviour of looking in the current directory is still supported if
the touchHLE executable is outside a bundle. Fixes#290.
Change-Id: Ib5b9b1316cdb910d8b2e1f18db1143d351b3bffb
The x86-64 cross-compilation is very broken and it will not be trivial
to fix.
Reverts "Trying to fix CI as macos-12 was deprecated and failing now"
This reverts commit 23d727ff79.
Change-Id: Ida993e882035c2e2019bb2dc948af352f7ecbd16
CI runner doesn't include anymore the version of Android NDK which
we're using, so we need to install it manually
Change-Id: I92749c107ca9ff45053454db5f8043b1924e286c
Github runner seems to bump a vendored version of NDK to version 27,
resulting in an incorrect value of ANDROID_NDK_ROOT being set.
The problem is fixed by explicitly setting that variable with a path
to NDK with a correct version.
(the same version as in build.gradle file "25.2.9519653")
Change-Id: I052d15124c1020fd6a4ef4135e304dbdd58b58af
This reverts commit 083ace1e66.
The intention was to allow tagging a release and then `git describe`
would pick up the new tag name, but unfortunately that doesn't work:
https://github.com/actions/checkout/issues/290
Instead re-running a trunk build is the only way. So, there's no point
letting tags trigger builds.
This commit also contains some Android build fixes. For some reason,
the GitHub Actions runner encountered problems I don't get on my
machine.
Change-Id: I8f052aa0feadbbbd356d453a2f44220decf52111