Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem occurred configuring project ':flutter_keychain'. #46

Open
Hamzadildar opened this issue May 26, 2024 · 1 comment
Open

A problem occurred configuring project ':flutter_keychain'. #46

Hamzadildar opened this issue May 26, 2024 · 1 comment

Comments

@Hamzadildar
Copy link

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/dynamicssolutiontechnology/.pub-cache/hosted/pub.dev/flutter_keychain-2.4.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.

This is the issue which i found in this package and my system having the latest version of the SDK and dart version on mac M3 PRO, Please let me know, if anyone have an idea how i fix that issue...
Thanks in Advance dude :)

[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale en-US)
• Flutter version 3.22.1 on channel stable at /Users/dynamicssolutiontechnology/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (4 days ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/dynamicssolutiontechnology/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/dynamicssolutiontechnology/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/dynamicssolutiontechnology/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2

[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

@pleink
Copy link

pleink commented Jun 20, 2024

I'm having the same issue and some others as well.

There is already a Pull-Request created by @naivetoby with a fix for the issue.

@jeroentrappers would be nice to see a new version with a fix for that😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants