flutter_web_browser icon indicating copy to clipboard operation
flutter_web_browser copied to clipboard

Issue when compile the package on gradle 8.5

Open 500InternalErr opened this issue 11 months ago • 1 comments

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.

500InternalErr avatar Jan 10 '25 07:01 500InternalErr

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.

KonstantinRr avatar Jan 23 '25 10:01 KonstantinRr