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

🔥 Add namespace to support flutter 3.24.0 #203

Closed
DmitryGaimaldinov opened this issue Aug 15, 2024 · 1 comment
Closed

🔥 Add namespace to support flutter 3.24.0 #203

DmitryGaimaldinov opened this issue Aug 15, 2024 · 1 comment

Comments

@DmitryGaimaldinov
Copy link

After upgrading to flutter 3.24.0 and building apk this error is thrown:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':nfc_manager'.
> 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.

Similar fixed issue of another package can be a reference how to do this: hui-z/image_gallery_saver#295

@DmitryGaimaldinov
Copy link
Author

I totally sorry. I haven't seen that a forked version is used in our application

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

1 participant