I had tried to import the react-native project to android studio, but the "index.android.js" file is not shown in android-studio IDE.. So what I will do ?
Step 2: Start your application npx react-native run-android is one way to run your app - you can also run it directly from within Android Studio.
React Native (also known as RN) is a popular JavaScript-based mobile app framework that allows you to build natively-rendered mobile apps for iOS and Android. The framework lets you create an application for various platforms by using the same codebase.
You need to import "android" folder only.
To be able to see the root project files, you need to change your View Mode from "Android" (which is for native Android development only) to "Project", which is the mode for a generic project type and all the files will be in the same exact position as they will if you access them via folders
Screenshot for semplicity:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With