eopeter / flutter_dtmf

DTMF Tone Generator for Flutter Applications.
MIT License
11 stars 20 forks source link

Android Gradle Issues #26

Open peterson-umoke opened 2 hours ago

peterson-umoke commented 2 hours ago

Namespace not specified. Specify a namespace in the module's build file: /{{username}}.pub-cache/hosted/pub.dev/flutter_dtmf-3.0.2/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.

A problem occurred configuring project ':flutter_dtmf'.

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: /{{username}}/.pub-cache/hosted/pub.dev/flutter_dtmf-3.0.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

peterson-umoke commented 2 hours ago

solution to this is to simple add a namespace to your build.gradle file:

android {
    namespace "com.eopeter.flutter_dtmf"
    ...
}