missing namespace Error building
A problem occurred configuring project ':flutter_html_to_pdf'.
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.
I am also facing the same issue. Is there any way to solve this issue?
Thanks for reporting this! I’ve opened a pull request to fix the build error: #99. It adds the missing namespace to the Android module’s build.gradle file, which resolves the AGP configuration issue. Feel free to check it out and let me know how it works for you. Thanks!