Hadeed , my offline gym log, is a Flutter app. I upgraded it to Flutter 3.50.0, Android Gradle Plugin 9.3.1 and Gradle 9.5.0, and the Android build failed on configuration with this error:
Library projects cannot set applicationIdSuffix
Enter fullscreen mode
Exit fullscreen mode
My app has no library projects. It has one app module, and the only applicationIdSuffix in it was on my own build types:
buildTypes { debug { applicationIdSuffix = ".dev" } getByName ( "profile" ) { applicationIdSuffix = ".profile" } }
Enter fullscreen mode
Exit fullscreen mode
Both suffixes exist for the same reason. A test build with its own package id installs next to the Play build instead of replacing it. Replacing it would mean uninstalling the Play build first, and that deletes the user's training log. So I wanted to keep them.
Where the library comes from
The "library projects" are your Flutter plugins.…