Error with flutter_html

Troubleshooting

Hi everyone, I need to show some text formatted with html tags on the video (they are records that I extract from a MySql table and which contain the descriptions of some monuments). To do this I inserted "flutter_html: ^2.2.1" into the pubspec.yaml file.

But this means that even on a practically empty page I always get it wrong. "FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring project ':wakelock'.

> 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." It basically tells me that the namespace doesn't exist but that's not the case. It seems more a version compatibility problem (Java?). I also tried to downgrade flutter_html but nothing changes. I'm using the latest version of AndroidStudio Koala and the latest version of flutter. Can anyone help me?

What have you tried so far?
I tried inserting it into a blank page with just some text.
I tried downgrading flutter_html
Did you check FlutterFlow's Documentation for this topic?
No
1