react-native-otp-verify icon indicating copy to clipboard operation
react-native-otp-verify copied to clipboard

Could not determine the dependencies of task ':react-native-otp-verify:compileDebugAidl'.

Open tayyabrajpoot12 opened this issue 1 year ago • 4 comments

After installing "react-native-otp-verify": "^1.1.8" build is not working my react native version is 0.72.6

tayyabrajpoot12 avatar Nov 08 '24 07:11 tayyabrajpoot12

+1

jet2018 avatar Jan 28 '25 12:01 jet2018

  • 1 after installing the dependency throw error in expo
e: This version (1.5.15) of the Compose Compiler requires Kotlin version 1.9.25 but you appear to be using Kotlin version 1.9.24 which is not known to be compatible.  Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).```

 anyone can help ? 

lucaspieran avatar Feb 10 '25 19:02 lucaspieran

@lucaspieran Did you ever fix this ?

jkcarraher avatar Mar 12 '25 21:03 jkcarraher

@lucaspieran @jkcarraher The fix is to change the kotlin version using the expo-build-properties plugin. You can also modify the build.gradle code to use kotlin 1.9.25 if you have run prebuild.

The below code is if you use expo:

npx expo install expo-build-properties

// app.json
expo {
"plugins": [
      [
        "expo-build-properties",
        {
          "android": {
            "kotlinVersion": "1.9.24"
          }
        }
      ]
    ],
}

sakisdog avatar Mar 23 '25 15:03 sakisdog