flutter_web_browser
flutter_web_browser copied to clipboard
Issue when compile the package on gradle 8.5
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.
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.