daily-demos / daily-flutter-demo

BSD 2-Clause "Simplified" License
4 stars 1 forks source link

not compatible with current android gradle plugin (>= 8.x.x) #10

Open jd-bus opened 3 months ago

jd-bus commented 3 months ago
1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':daily_flutter'.
> 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: /Users/jd-bus/.pub-cache/hosted/pub.dev/daily_flutter-0.20.0/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.

more information: https://stackoverflow.com/questions/76108428/how-do-i-fix-namespace-not-specified-error-in-android-studio https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes#namespace-dsl