mogol / flutter_secure_storage

A Flutter plugin to store data in secure storage
https://pub.dartlang.org/packages/flutter_secure_storage
BSD 3-Clause "New" or "Revised" License
1.12k stars 367 forks source link

A problem occurred configuring project ':flutter_secure_storage'. #723

Closed devnoaman closed 4 months ago

devnoaman commented 4 months ago

I am trying to build app after updating my project to latest version of flutter and an error just occurs , the error message tells that :

A problem occurred configuring project ':flutter_secure_storage'. 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/noaman/.pub-cache/hosted/pub.dev/flutter_secure_storage-4.2.1/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

juliansteenbakker commented 4 months ago

You are using a very old version of this plugin. flutter_secure_storage-4.2.1 The current version is 9.2.2.