hpoul / file_picker_writable

Flutter plugin to choose files which can be read, referenced and written back at a later time.
https://pub.dev/packages/file_picker_writable
MIT License
17 stars 13 forks source link

Android Gradle Plugin 8.0 compatibility #39

Closed amake closed 5 days ago

amake commented 1 year ago

When trying to upgrade my project to Android Gradle Plugin 8.0 I get the following error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':file_picker_writable'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

     android {
         namespace 'com.example.namespace'
     }

     If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
amake commented 5 days ago

This was fixed in 35fcee864d46411dab226414acb2468802757ae8