Task :react-native-keychain:compileDebugJavaWithJavac FAILED
I am using the below version:
"react": "16.9.0",
"react-native": "0.61.4",
"react-native-keychain": "^6.0.0",
resolved issue by changing the "react-native-keychain": "^6.0.0" to "react-native-keychain": "6.0.0"
I was able to fix it by upgrading the SDK version.
I was able to fix it by upgrading the SDK version.
which sdk version did u switch to?
29:
solution:
... buildscript { ext { ... buildToolsVersion = "29.0.3" compileSdkVersion = 29 ... } ...
Nice @codetheweb, that was it
Specifically, it looks like the latest and greatest version (6.1.1) requires PackageManager.FEATURE_IRIS, which is has only been added in the 29 SDK: https://developer.android.com/reference/android/content/pm/PackageManager?authuser=1
Most helpful comment
29: