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

Issue when compile the package on gradle 8.5 #54

Open
500InternalErr opened this issue Jan 10, 2025 · 1 comment
Open

Issue when compile the package on gradle 8.5 #54

500InternalErr opened this issue Jan 10, 2025 · 1 comment

Comments

@500InternalErr
Copy link

The build.gradle need to have namespace on newer gradle
Please see the error below

* What went wrong:
A problem occurred configuring project ':flutter_web_browser'.
> 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.
@KonstantinRr
Copy link

I created a fork of the repo and added the namespace. This repository hasn't gotten any updates in the last year. I also updated the compile and sdk versions.

It can be fixed by adding a simple: namespace 'dev.vbonnet.flutterwebbrowser' in the android section of android/build.gradle.

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

2 participants