-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Android build fails on 5.0.0+4 with 'Could not find method jvmToolchain' #107
Comments
After removing biometric_storage as a dependency my builds work just fine. So instead I'm using a combination of local_auth and flutter_secure_storage as this package is broken (at least for me). |
my temporary fix is to remove kotlin { from the libary's Gradle file at /Users/"yourUser"/.pub-cache/hosted/pub.dev/biometric_storage-5.0.0+4/android/build.gradle |
I don't have explicitly set |
it's set in the library by default for you. |
upgrade kotlin version and build:gradle works for me, probably just kotlin_version is enough |
I update android/build.gradle |
I have the same error, any fix? |
That is a major issue - we can't use the latest gradle. Any proper solution? |
Hey,
when building for android I'm getting the following errors:
I'm quite new to android, gradle and kotlin.
I think somewhere in my gradle config I have to wrong versions set.
I'm using
To be honest I'm a bit confused about all of the versions of the different tools. It looks like that the biometric_storage plugin uses gradle 8.1. So does that mean I have to upgrade to that version? Which JDK and android-kotlin-plugin version should be used then?
The text was updated successfully, but these errors were encountered: