QuisApp / flutter_contacts

MIT License
84 stars 140 forks source link

Build fails with AGP 8.0.2 #123

Closed dvoloshyn closed 1 year ago

dvoloshyn commented 1 year ago

When upgrading from AGP 7.4.2 to AGP 8.0.2 build fails with the following error:

* What went wrong:
A problem occurred configuring project ':flutter_contacts'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

     android {
         namespace 'com.example.namespace'
     }

     If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Should be fairly simple to fix, right?

felixkriechbaum commented 1 year ago

Hi, can you attach an flutter doctor -v and your build gradle?

KR Felix

dvoloshyn commented 1 year ago

Hi Felix,

I believe that someone is already working on fixing this issue in PR https://github.com/QuisApp/flutter_contacts/pull/121 So, the question mainly is when this work can be done, merged and released

joachim-quis commented 1 year ago

Should be fixed in version 1.1.7