I can’t init new react-native project with kotlin language for android, only create with java language. Please help me. Thank you!
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
You can create a new Android Kotlin project separately using Android Studio and follow this guide(https://reactnative.dev/docs/integration-with-existing-apps?language=kotlin) to integrate react-native into newly created Android Kotlin project
Creating a project with Kotlin using a
cli command
is not available; however, you can make modifications to the project after its creation by following these steps. A detailed, step-by-step guide on creating a project with Kotlin and Swift in a React Native environment is provided in this React Native Project with Kotlin and Swift – Medium article.