Why use the phone instead of the android studio emulator?
Hello,
If you are React Native learner or an Expo learner, then there is an emulation on the mobile phone with the Expo Go application, but it will not be the case for React Native related to ANDROID_HOME and JAVA_HOME.
First of all, running an emulator could cause blue screens of the Android Kernel and interrupts the work.
Second, the machine will be slower than usual and that causes disturb all your work.
Step by step on how to activate:
If you have Android less than 11 then in additionally to USB debugging if you are Android 9 or 8 or 10 or 7, you need additionally to Google API 34 to install this version of Android otherwise it would not work even running gradlew from Android or npx react-native run-android.
If you have Android 11 or above, additionally to Wifi debugging with ADB you need additionally to install this version of Android 11 in Android Studio.
Note that migrating from one profile on Windows to another one needs reinstalling Android Studio from scratch as it is not like Bluestacks importing your work from another profile by default.