79395708

Date: 2025-01-29 04:17:09
Score: 2
Natty:
Report link

It seems like a compatibility issue between your React Native version. I was using "react-native": "0.71.17" with "react-native-gesture-handler": "2.20.0", and I encountered issues. After trying various solutions, I found that downgrading react-native-gesture-handler to version 2.9.0 resolved the problem.

If you're still facing a similar issue, try below steps:

1.Check Kotlin Version

Ensure your project is using the correct Kotlin version. For React Native 0.71.17, Kotlin 1.6.10 is typically recommended. Update your android/build.gradle file to include:

ext {
    kotlinVersion = "1.6.10"
}
  1. Rebuild the Project:

    npm install cd android ./gradlew clean cd .. npx react-native run-android

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Low reputation (0.5):
Posted by: Abdullah Jaspal