When using Flutter with gradle version above 8.0 this error occurs
Namespace not specified. Specify a namespace in the module's build file: /Users/harish/.pub-cache/hosted/pub.dev/perfect_volume_control-1.0.5/android/build.gradle. 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.
When using Flutter with gradle version above 8.0 this error occurs