ShekarMudaliyar / social_share

Flutter package to share images/videos/text on social media
https://pub.dev/packages/social_share
MIT License
112 stars 188 forks source link

add android namespace #162

Open stevenspiel opened 1 month ago

stevenspiel commented 1 month ago

flutter build appbundle is returning

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':social_share'.
> 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.

details:

flutter version 3.19.2 
openjdk version "21.0.3" 2024-04-16
com.android.application version "8.3.2"
https://services.gradle.org/distributions/gradle-8.10-bin.zip