Commit Graph
27 Commits
Author SHA1 Message Date
antoniou79 05b682fdc3 ANDROID: New versionCodes 89-93 for 2.7.0
Skipped 3 batches of codes as reserved for possible beta testing or bug fix 2.6.x releases
2022-06-05 22:54:51 +03:00
antoniou79 b3bb24e697 ANDROID: New versionCodes 73-76 for 2.6.0 2021-10-03 13:06:18 +03:00
antoniou79 9d6afc80b4 ANDROID: Repurpose VersionCodes for 2.5.1 2021-10-03 13:06:18 +03:00
antoniou79 d109df3939 ANDROID: Update versionCode and versionName for master 2021-10-01 15:46:03 +03:00
antoniou dad5179e9d ANDROID: Fix warning unchecked conversion
In CustomKeyboardView for mKeysDownCodesSet ArraySet

Also enable the option -Xlint:unchecked (within build.gradle) to show the unchecked conversion warnings on compile
2021-08-05 13:26:31 +03:00
Cameron Cawley 4e3c35e26b Revert "ANDROID: Set minimal SDK to 21+ (Android 5+). The app crashes at launch on Android 4"
This reverts commit ac666c2306.
2021-01-17 21:50:35 +01:00
Eugene Sandulenko ac666c2306 ANDROID: Set minimal SDK to 21+ (Android 5+). The app crashes at launch on Android 4 2021-01-08 19:31:19 +01:00
antoniou 568572e2cc ANDROID: Upgrade gradle to 4.1.1 2020-11-26 14:43:51 +02:00
antoniou 0de952a59c ANDROID: Raise targetsdk to 29 but make use of requestLegacyExternalStorage
Also some fixes for deprecated warnings
2020-11-07 23:38:03 +02:00
antoniou 8fe6aae59e ANDROID: Use SAF for folder and file creation when normal way fails
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +02:00
antoniou 17196e65ac ANDROID: update comment on build.gradle
For Play Store release (Oct 2020)
2020-10-25 13:57:11 +02:00
antoniou 79acea3a18 ANDROID: use gradle's auto-align and set debuggable to false for release build
There were issues with manually aligning apks possibly due to upgrading gradle

The manual zipalign even though running with no fail message, would NOT align the apk properly anymore.
Command to manual verify alignment of an apk is:
Android/Sdk/tools/bin/zipalign -c -v 4 release/ScummVM-release-unsigned.apk
2020-10-18 13:42:44 +03:00
antoniou ff89ca68d6 ANDROID: Update versionCode to accomodate new beta3 (2.2.1) release 2020-10-17 22:49:42 +03:00
antoniou 4a9b6d12ac ANDROID: Use gradle 6.7 and plugin 4.1.0
Also remove ndk.dir from local.properties since it is getting deprecated

Gradle will only use the info (ndkVersion) in gradle.build. Possibly ndkPath too, but we probably don't need that, since ndk is within the sdk folder (default location)
2020-10-15 19:06:33 +03:00
antoniou 18b83107db ANDROID: Revert to targeting API 28 to prevent file access issues
See bug ticket: https://bugs.scummvm.org/ticket/11753

API 29 makes certain file access functions return empty lists due to restricitve policies. We need to come up with an alternative for Android 10 and higher, when we will switch to targeting API 29 (or higher). Google enforces this switch on November 2nd for application updates.
2020-10-04 12:32:31 +03:00
antoniou d4aad77b11 ANDROID: Update expected versionCode for 2.3.0 2020-09-30 19:54:23 +03:00
antoniou79 40298ce3a6 ANDROID: Set target SDK to 29
As per the Play Store rules.

From 2 November 2020, app updates must target Android 10 (API level 29) or higher. (https://developer.android.com/distribute/best-practices/develop/target-sdk)
2020-09-28 01:08:09 +03:00
antoniou79 f3e4d3986a ANDROID: DISTS: Upgrade gradle and gradle plugin versions
This repeats the commit change that mduggan did

The original commit was:
https://github.com/scummvm/scummvm/commit/fdf84ed93e9c860208343434eefff16b54635174
Then it got revered by:
https://github.com/scummvm/scummvm/commit/280446deb1bc004e7aed7af30a97370ef1b006b0
We need to manually remove some (android_project) directories in order for the builds to succeed on our buildbot after these changes. The buildbot does this itself once daily.
2020-09-27 23:04:34 +03:00
Matthew Duggan 280446deb1 Revert "ANDROID: Update gradle versions to make Android Studio happy"
This does need upgrading at some point and it's basically harmless, but I need
to coordinate upgrading gradle on the buildbot to make it work.

This reverts commit fdf84ed93e.
2020-09-26 12:34:29 +09:00
Matthew Duggan fdf84ed93e ANDROID: Update gradle versions to make Android Studio happy 2020-09-26 12:19:00 +09:00
antoniou 0d7d8fdaa1 ANDROID: Account for possible v2.2.1 in build.gradle 2020-09-24 13:48:16 +03:00
antoniou bd95672815 ANDROID: get version info (wip) and use androidx for annotations
Also androidx is replacing the Android Support library so it's best to use this one

According to https://developer.android.com/jetpack/androidx
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
2020-09-14 09:32:37 +03:00
antoniou b9798d8be3 ANDROID: Set new version code(s) for 2.3.0 2020-09-14 09:32:37 +03:00
antoniou79 70fce0d0a4 ANDROID: Comment about new versioCodes 2020-07-22 06:05:24 +03:00
antoniou79 c002873cc4 ANDROID: Request NDK version 21.3.6528147 in build.gradle 2020-07-22 05:44:56 +03:00
Le Philousophe 4367c2d350 ANDROID: Don't target Android API level 29 yet
Android API level 29 introduces scoped storage which is enabled by
default for applications targeting level 29.
This protection prevents us to access external storage.
There is a compatibility flag but it will disappear in Android 11.
To target more recent platforms, we should implement SAF FS backend.
2020-04-07 11:36:02 +03:00
Peter Kohaut 470a1d3586 ANDROID: Switch to Gradle
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00