hui-z / image_gallery_saver

flutter中用于保存图片到相册的Plugin
MIT License
271 stars 346 forks source link

Namespace not specified #298

Open Firekepr opened 4 months ago

Firekepr commented 4 months ago

Flutter: 3.19.6 image_gallery_saver: ^2.0.3 Gradle: 8.1.3

Hello, I updated my project's gradle to the most current version (8.1.3) and after that it started giving this error:

> 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.
famasf1 commented 3 months ago

See #295

Firekepr commented 3 months ago

yes, my solution was:

  image_gallery_saver:
    git:
      url: https://github.com/knottx/image_gallery_saver   # https://pub.dev/packages/image_gallery_saver
      ref: knottx

by the way thanks @knottx

erperejildo commented 2 weeks ago

can we get this package updated please?