JiangJuHong / FlutterPerfectVolumeControl

Flutter 完美的音量控制插件,支持Android和IOS,功能有:显示隐藏音量图标、音量监听、获得音量、设置音量
Apache License 2.0
17 stars 21 forks source link

Namespace not specified when using gradle 8.0 #14

Open Harishwarrior opened 5 months ago

Harishwarrior commented 5 months ago

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.
JiangJuHong commented 5 months ago

I'll investigate and if the problem exists it will be fixed