invertase / react-native-apple-authentication

A React Native library providing support for Apple Authentication on iOS and Android.
Other
1.36k stars 215 forks source link

Gradle sync failed: No variants found for ':invertase_react-native-apple-authentication'. Check build files to ensure at least one variant exists. #296

Closed rStarNarayan closed 1 year ago

mikehardy commented 1 year ago

No information that could be used for a reproduction is presented, so closing, sorry

Search: stackoverflow how to ask

Try running the example here on your mach, report results

rastuch commented 1 year ago

@mikehardy @rStarNarayan, same here, for some reason gradlew not recognizes a default versio of kotlin. Helps for me: `android/build.gradle in root react native project

buildscript { ext { buildToolsVersion = "29.0.2" minSdkVersion = 22 compileSdkVersion = 31 targetSdkVersion = 31 // Only using Android Support libraries androidXAnnotation = "1.1.0" androidXBrowser = "1.0.0" kotlinVersion = "1.5.31" //Add here, but not working with 1.7.0 } `