[DEV] Update Android target and required library versions
Every year, Google requires developers to update their Android code to target the new versions of Android. Unfortunately, this usually isn't as simple as updating a single number. The biggest issue is that the new versions of Android have been deprecating features and adding new "features" that break app features. So, a lot of testing needs to be done, and unfortunately some bugs may get through.
But, in the interest of getting LTE Discovery out to people with Android 15, we will be pushing forward. Some features will be more limited on some devices.
Here's a screenshot of the issues that we've started working on a while back, and did more work and testing for it this week:
- Dan
Developer for LTE Discovery
Cutting room floor
Just some of the errors we run into when trying to do the required updates:
Needed to:
- Update from kapt to ksp
- Update Kotlin from v1.9 to v2.0
- Update Compose to match the Kotlin version
- And more...
Pausing for the night at 1am with the following error message: "Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:_agp_internal_javaPreCompileDebug_kspClasspath'."
Update 2025-04-26
Finally got the dependencies figured out. Up next is looking into the new security/permissions changes.
@7:54pm: Just finished testing on an Android 14 device. Things are looking good. Next is to test Android 13 and Android 15 devices, then working on publishing to Google Play!
2025-04-27: The checks have been completed. Two existing bugs fixed. Now, one final review of the code, then creating the APK to publish to Google Play!
@11:33am: Ahhh, so close. As I try to upload the app, found another library issue to quickly fix:
@11:51am: Next issue. I now have to create a video of the app being used with the crowdsourcing feature since it uses (opt-in) location in the background.
@1:09pm: Rolling out to 5%. And, I'll likely need to update that video's quality soon.
2025-04-28: The new update was denied by Google. I likely need to have a better video with audio explaining what's going on. I'll try that tonight and re-submit the app.
2025-04-30: Trying again with a much longer video and additional details shown to the user.
Success!
It's currently rolled out to 5%. I'll be raising to 20% now, then 100% in a few days.
Comments
Post a Comment