We often encounter strange problems when using React Native. This problem is that React Native does not recognize your phone, but your phone is indeed there. React Native经常会碰到奇葩的问题,这个问题是React Native没有识别到你的手机,但是你的手机确实在的。
We often encounter this situation. The general approach is not to use run-android to start the project. Use Android Studio to open the project and run it on the phone. If you have modified js, double-click R. Make sure to enable the service. 🎜
🎜React Native It is better to give up. 🎜
We often encounter strange problems when using
React Native
. This problem is thatReact Native
does not recognize your phone, but your phone is indeed there.React Native
经常会碰到奇葩的问题,这个问题是React Native
没有识别到你的手机,但是你的手机确实在的。经常碰到这种情况,一般的做法就是不要用
run-android
来启动项目。使用Android Studio
打开项目并运行到手机上。如果修改了js的话就双击R。注意要开启服务。
We often encounter this situation. The general approach is not to useReact Native
run-android
to start the project. UseAndroid Studio
to open the project and run it on the phone. If you have modified js, double-click R. Make sure to enable the service. 🎜 🎜React Native
It is better to give up. 🎜