However, I also configured the adle file of this project. Of course, you can also copy the local.properties file of the previous Android project. View the path of the AndroidSDK can be viewed through AndroidStudio Thank you for reading this article, and if you have any problem, have a another better useful solution about this article, please write message in the comment section. In the right section you can see the live result in android emulator. If you don't have this file, create one yourself. Lets follow the below steps to run react native code in online android emulator. add xcpretty optionally to ios build in react native - runIOS. The configuration of the Android SDK can be done by configuring the environment variable or by writing it in the local.properties file in the project's android directory. ADB can be used to control the Android Emulators and the real devices running. It turned out that I did not find the Android SDK file! This post will cover How to Run React Native App On Real Device in Windows/Linux/Mac.
After developing the React Native App it is always a good idea to test it on the real device because many times an app behaves differently in the emulator then the real device.
Finally finally got it! ! ! Please note that this is in WindowsUnder the version! ! !Īt first, I just paid attention to the problem of the red part, and then crazy Baidu, Google did not find a suitable solution.įinally calm down, let's take a look at the above tips? Debug App in Real Android Device using USB Connection.