How to remove Kotlin from React native project

127 views Asked by At

I worked in Flutter, and now I switch to React Native, but when I create a new React Native project, kotlinversion and ndkversion are added automatically to the build.gradle file in the project.

How do I stop the Kotlin version from being added to my React Native project?

build.gradle

1

There are 1 answers

0
Darshit Shah On

Fixed issue. It was not an issue or problem, but it was a problem with the React Native version. Version 0.73 of React Native adds Kotlin and the NDK version by default. so down the version of react native using:

npx react-native init ProjectName --version X.XX.X