Open Juanixou opened 1 year ago
I am getting this error too, the problem is in the dependency flutter_inappwebview. It is already fixed there, we just need to use version > 6 https://github.com/pichillilorenzo/flutter_inappwebview/issues/1975
A problem occurred configuring project ':flutter_inappwebview'.
> 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.
EDIT: I noticed I was not using the latest version, make sure you are using > 9.0.0
9.0.0 Bumps flutter_inappwebview to latest version.
For me it works with :
youtube_player_flutter: ^9.0.2
There is a problem with the gradle update, and now, all libraries need an specific namespace on its build.gradle. If you can update the current version adding it, it will be nice. Thank you so much