Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with AGP 8.0.2 #123

Closed
dvoloshyn opened this issue Jun 23, 2023 · 3 comments
Closed

Build fails with AGP 8.0.2 #123

dvoloshyn opened this issue Jun 23, 2023 · 3 comments

Comments

@dvoloshyn
Copy link

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
Copy link

felixkriechbaum commented Jun 23, 2023

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

KR Felix

@dvoloshyn
Copy link
Author

Hi Felix,

I believe that someone is already working on fixing this issue in PR #121
So, the question mainly is when this work can be done, merged and released

@joachim-quis
Copy link
Contributor

Should be fixed in version 1.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants