on-internet
← Community

R8 strips WorkDatabase_Impl constructor: release crashes at launch, earlier release didn't [closed]

Stack Overflow ·

My Flutter app (AGP 9.4.1) crashes immediately on launch when installed from Google Play. Debug builds work. The crash occurs in a content provider, before Flutter or Dart code runs: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider Caused by: java.lang.RuntimeException: Failed to create an instance of androidx.work.impl.WorkDatabase at androidx.work.WorkManagerInitializer... Cause I found I don't use the workmanager plugin. WorkManager 2.7.0, and with it Room 2.2.5, arrives transitively through google_mobile_ads (play-services-ads 25.5.0). In the Room

Comments

Sign in or sign up to comment and upvote.

No comments yet.