Commit Graph
86 Commits
Author SHA1 Message Date
Henrik Rydgård 214995d9d5 Fix more lints, set up a lint baseline for Android 2025-09-02 14:35:29 +02:00
Henrik Rydgård 00edf03819 Remove another deprecated feature from build.gradle 2025-09-02 13:26:03 +02:00
Henrik Rydgård bbfe605959 build.gradle: Replace the deprecated variantFilter clause with the modern replacement 2025-09-02 13:26:03 +02:00
Henrik Rydgård 984f30a530 Update NDK. Remove 16K page compatibility flag that's now on by default. 2025-09-02 13:26:03 +02:00
Henrik Rydgård c58abd14aa Remove support for Moga controllers.
Moga was an early "standard" (well, supported by a single company) for
joystick input before Android got official support, which was a long,
long time ago. I can't imagine many of these are still in use. Plus, the
Moga integration library broke back in Lollipop so we've carried around
an ugly workaround.

Let's just get rid of this stuff.
2025-08-29 21:27:47 +02:00
Henrik Rydgård 8cdf1a435b Bump the androidx appcompat version. Not quite to the latest but not far behind. 2025-08-29 11:03:08 +02:00
Henrik Rydgård 04dc09b432 Gradle: Update target to SDK version 36, fix some outdated syntax 2025-07-16 21:09:12 +02:00
Henrik Rydgård 587090ad39 Bump gradle again 2025-07-09 12:13:46 +02:00
Henrik Rydgård 3f77775306 Legacy build: Attempt to lower version requirements, also allow manually specifying the path
Should fix #20509 (not extensively tested)
2025-06-13 20:08:41 +02:00
Henrik Rydgård 2feaeef837 Add support for 16kb page size on Android 2025-06-10 16:16:13 +02:00
Henrik Rydgård 5bc08cfae7 Android build setup: Enable flexible page sizes 2025-06-10 16:15:32 +02:00
Henrik Rydgård 5c47fc3419 Bump the NDK version 2025-06-10 16:15:32 +02:00
Henrik Rydgård 7022e745fc gradle: Stop requiring JDK 17, this causes annoying problems in new installations of Android Studio
Also bump to the latest version.
2025-05-29 18:15:58 +02:00
Henrik Rydgård c59cec4c97 gradle: Use file(...).text instead of new File, .write.
See #20326
2025-05-13 10:42:12 +02:00
Henrik Rydgård 7ce876d3f1 New icon images, reorganize files, update banner 2024-11-03 12:29:55 +01:00
Henrik Rydgård 14a78e51b0 Android: Fix a bunch of lints 2024-10-10 10:06:46 +02:00
Henrik Rydgård f5b31cbcab Android: Build with the Android 15 SDK (v35) and target it as well.
Just making sure we're properly up to date.
2024-09-09 11:00:30 +02:00
Henrik Rydgård abaea0197b Allow debug/release build variants for legacy build 2024-08-15 15:51:11 -06:00
Henrik Rydgård afdba5a7b9 Add green icon for Legacy Edition, add new string for name 2024-08-15 13:34:11 -06:00
Henrik Rydgård eff3ef7da3 Android: Add new build config "legacyOptimized", which targets an older Android version
This should allow working around the scoped storage problem on old
Android TVs by sideloading APKs built this way. Support for building
this will be added to the buildbot soon.

Considering maybe making a special icon variant?

See #16865

Not yet tested.
2024-08-14 17:55:42 -06:00
Katharine ChuiandGitHub 9b9f7bdcd3 bump com.gladed.androidgitversion to fix android studio building (#19328)
fixes "Could not find com.android.tools.build:gradle:2.3.3."

ref: https://github.com/gladed/gradle-android-git-version/issues/55
2024-07-16 16:53:35 +02:00
Henrik Rydgård bc378fd0d6 Android: Compile using the newest SDK, update targetVersion to 34 2024-05-13 14:59:13 +02:00
Henrik RydgårdandGitHub 3bebd2101a Revert "OpenXR - One APK for Android and standalone VR" 2024-04-03 10:57:02 +02:00
Lubos 63307aec2e OpenXR - One APK for Android and standalone VR 2024-03-21 12:29:22 +01:00
Lubos Vonasek 0255de7d7d OpenXR - Android paths fixed 2024-03-20 19:07:06 +01:00
Lubos 76b015a4ab OpenXR - Migrate to official SDK 2024-03-20 12:23:54 +01:00
Henrik Rydgård c5191cad4c Disable 16-bit textures on PowerVR.
Fixes #18780
2024-01-29 15:48:27 +01:00
Henrik Rydgård a811cbac80 Add proper checks for file type when picking a background image
Should fix some confusion, and also issues picking files from the
Download folder on Android where the filenames we get don't always have
extensions.
2024-01-27 12:03:01 +01:00
Henrik Rydgård 01370ab099 Fix some gradle deprecation warnings 2024-01-17 23:43:00 +01:00
Dzmitry Dubrova a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03:00
Henrik Rydgård 42164b37d6 Gradle: Fix some deprecation warnings 2023-10-06 15:39:59 +02:00
Henrik Rydgård ef28920179 Android: Remove support for 32-bit x86 builds 2023-08-14 13:47:55 +02:00
Lubos 0447b2b78a OpenXR - Cleanup unsupported features, support Android 12 2023-05-03 19:41:23 +02:00
Henrik Rydgård e0a67c7703 Don't use the cpu_features library on Android arm32.
Unbreaks Xperia Play, yay.

Also bumps the compile tools version in the gradle, unrelated but
doesn't hurt.
2023-04-29 23:54:47 +02:00
Henrik Rydgård 67754e3c99 Android: Upgrade to the latest gradle version.
Android Studio got an upgrade, and as usual comes with new gradle and
integration plugin.
2023-04-18 10:47:36 +02:00
Henrik Rydgård 075ccc0821 Android: Update target version to SDK 33
Which corresponds to Android 13.

Additionally removes redundant version lines from the manifest, and
includes a small warning fix.
2023-04-18 10:27:06 +02:00
Henrik Rydgård ab5172cd6e Gradle updates 2023-03-02 13:14:24 +01:00
Lubos 7bbb5eac51 Comment fixed 2023-02-08 17:41:50 +01:00
Lubos abf76bd212 OpenXR - One APK for both Pico and Quest 2023-02-08 17:26:36 +01:00
Lubos 38c4774f4a Change package of the Android VR builds 2022-12-04 18:14:05 +01:00
Henrik Rydgård 4d81506046 Upgrade gradle, specify NDK version in android/build.gradle
Also fix a warning.
2022-11-06 09:44:06 +01:00
Lubos 1fdbde8ee9 OpenXR - Support multiple loaders 2022-09-24 22:11:08 +02:00
Lubos ec22cee96a OpenXR - Add manifest for Pico 2022-09-24 21:22:55 +02:00
Lubos ca77240f36 OpenXR - Rename Quest build variant 2022-09-24 21:16:57 +02:00
Lubos 4691b376d1 OpenXR - Use a build variant instead of a module 2022-07-31 15:27:15 +02:00
Henrik Rydgård 477b1773c2 Bump Android target version to 12L.
(I believe we already handle the one relevant behavior change, which is that
insets can change at any time)
2022-04-05 10:09:52 +02:00
Henrik Rydgård 2845f173ea Update target Android version from 11 to 12. (API 30 to 31).
We just updated from 10 to 11 which enabled scoped storage, but now
that 12 is final, we might as well target that. Some new APIs are
available that might be useful, like a crash dump
API and more refresh rate control.
2021-10-09 22:05:41 +02:00
Henrik Rydgård 2a223bb91d No longer need to specify build tools version, gradle now has a default. 2021-09-08 01:16:49 +02:00
Henrik Rydgård 68d9372d9f Update gradle again.
Or at least try to, last time I tried we hit buildbot issues.
2021-08-29 21:20:33 +02:00
Henrik Rydgård 793e79945f Enable scoped storage enforcement on Android 11+.
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
2021-08-04 23:22:43 +02:00