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

Problem using this package in recent Flutter version #42

Open
LeoCrenon opened this issue Oct 23, 2024 · 2 comments
Open

Problem using this package in recent Flutter version #42

LeoCrenon opened this issue Oct 23, 2024 · 2 comments

Comments

@LeoCrenon
Copy link

After i upgraded gradle and flutter version this issue appeared when building in profile mode :

* What went wrong:
A problem occurred configuring project ':beacon_broadcast'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Of course i specified the namespace in my build.gradle

This is my Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel main, 3.27.0-1.0.pre.123, on Microsoft Windows [version 10.0.22631.4317], locale fr-FR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.5.2)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.94.2)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

If someone has and idea i'll take it !
Thank you

@Yolo-cell-hash
Copy link

I was facing a similar issue but this thread's AymKdm's solution did work for me

@Jackson-Antunes-Sampaio
Copy link

I have the same problem, but I can't solve it.

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