-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK 34 adaptations #4215
base: release/4.0
Are you sure you want to change the base?
SDK 34 adaptations #4215
Conversation
Pending tasks:
|
Found one issue during local build(
So I disable |
@Bambooin right, the minify rule. Added them back - although some can indeed just put |
0350790
to
68df2d2
Compare
With
|
01b96d6
to
4194638
Compare
4194638
to
1fb9b37
Compare
build test apk |
getting following error at application startup |
9099cec
to
fd19721
Compare
@TranceLove is this anywhere near mergeable? seems somewhat urgent. |
@EmmanuelMess Check. Will take a look. |
- build.gradle upgrades - Code adaptations to remove switch cases to resource IDs - Fix import of resource IDs from library level resources - Minimum version requirement set to LOLLIPOP
- Fix Context.registerReceiver() on newer Androids - Quirks to work around problems with ContextCompat.registerReceiver() at Robolectric tests - Remove CMake version
22e2aa4
to
fa2abeb
Compare
build test apk |
Sorry the stock Github workflow still uses Java 11 while this PR requires Java 17. Need to build the test apks on your own 🙇 |
Updated: - Gradle - sshj - Glide - slf4j and logback - AndroidX test libs - gson - okhttp
a2a71c6
to
1518e93
Compare
@@ -67,14 +67,15 @@ jobs: | |||
strategy: | |||
fail-fast: true | |||
matrix: | |||
api-level: [ 16, 19, 28 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a newer version too, like 35, to have 3 versions running
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be moved to a new issue if it breaks the tests.
I think it is now requesting exactly java 17, whereas before I could build with java 19:
Which is not really an issue, but is just a bit weird. |
|
Issue explanation (write below this line)I built the apk with the latest commit, but failed to open the Amaze anymore.
This issue shows up with this pull request at beginning for my device, I try to build every time when the commit is changed in this pull request. Exception
Crash log
|
I'm getting on the release configuration (it may be because it is minified)
|
As of Gradle Android 8.0,
see https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes?hl=en#default-changes and also https://googlesamples.github.io/android-custom-lint-rules/checks/NonConstantResourceId.md.html |
app/src/main/java/com/amaze/filemanager/application/AppConfig.java
Outdated
Show resolved
Hide resolved
The ACRA crash was fixed in latest commit, and the size change is very tiny with No issue found with Android 13 device anymore. |
Re: library modules not minified on release config in submodules' build.gradle, as mentioned here this is not necessary - app minification will minify everything anyway. |
- Fix release build problems, by setting lib modules no minification - Upgrade ACRA to 5.12.0 - Remove unused lib and dependency declarations
fbd1516
to
2444288
Compare
Tested and passes. |
No special requirements and deprecations as reported at https://developer.android.com/google/play/billing/migrate-gpblv7?hl=en#6to7, should be fine to update as-is
2bd5c9b
to
52765db
Compare
Description
On Google Play store's requirements. Inevitably support for Kitkats must be dropped.
Automatic tests
Manual tests
Build tasks success
Successfully running following tasks on local:
./gradlew assembledebug
./gradlew spotlessCheck