-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl #172
Comments
Are cryptography_flutter methods used as default on supported platforms when used cryptography methods? |
I've removed cryptography_flutter from dependencies, changed to common non-flutter methods and I can build and run. Still don't know why I can't use cryptography_flutter. |
This seems caused by an incompatibility with Android Gradle Plugin 8.x. I have opened a PR. |
Any progress here? Will there be a compatibility with gradle 8.x? |
Seems a bit dead, unfortunately 😕 The only person listed as part of the Dint organization hasn't been active on GitHub for ages. As a workaround, you can use my fork as dependency which is what we are doing in our projects: cryptography_flutter:
git:
url: https://github.com/mvarendorff/cryptography
ref: fix/compatibility-agp-8x
path: cryptography_flutter |
@mvarendorff2 the fix seems to work. thx so basically the security-relevant package is not maintained anymore and requires forsk to fix bugs? isn't that a major security issue? is there an official dart/flutter package for encryption? |
I'm getting this when trying to run (Android Studio):
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
A problem occurred configuring project ':cryptography_flutter'.
BUILD FAILED in 1s
Exception: Gradle task assembleDebug failed with exit code 1
Is this common problem or could this be caused by my misunderstood:
The text was updated successfully, but these errors were encountered: