codelab-android-workmanager
codelab-android-workmanager copied to clipboard
Fix RuntimeException, remove jcenter and upgrade dependencies
Note: This PR guarantees the perfect functioning of the application after all changes.
What is the main problem?
Crash when trying to launch the app on a device with resolution equal to or above xxhdpi.
What does this PR do?
- Fix runtime exception describes at #257
- Replacement of jcenter (deprecated) by mavenCentral;
- Upgrade from agp: 4.1.2 -> 7.0.3;
- Kotlin upgrade: 1.4.30 -> 1.5.31;
- sdk target upgrade: 29 -> 31 (it was necessary to add the tag
android:exported="true"in the manifest file); - Need to use template string due to nullability of second parameter of
Log.ein line 98 inWorkerUtils.kt;
How to test?
Just build the app.
Close: #257