Directly on the steps:
1. Open the night God Android Simulator
2, before run-android the "ADB connect 127.0.0.1:52001", execute this command is connected to the night God Simulator (port default is 52001, if you are 62001 to 62001, according to the actual situation to change)
3, under the "ADB devices" to see if there is a connection device, no words to see the next step of the IP and port is correct
4, enter the React native project root directory, execute "run-android".
Note: If the following error occurs
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/BB/wKiom1dfosHi6j7kAAB9KQ-Jcqk579.png-wh_500x0-wm_3 -wmp_4-s_4158770298.png "title=" Error.png "alt=" Wkiom1dfoshi6j7kaab9kq-jcqk579.png-wh_50 "/>
Shake-and-shake function with simulator
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/82/BB/wKiom1dfo0DBkfiNAAAN_DPuCms782.png-wh_500x0-wm_3 -wmp_4-s_596897805.png "title=" 1.png "alt=" Wkiom1dfo0dbkfinaaan_dpucms782.png-wh_50 "/>
Then appear, click on "Dev Settings".
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/BB/wKiom1dfo3yR_uCQAABaQjIRFx8474.png-wh_500x0-wm_3 -wmp_4-s_2013248276.png "title=" 2.png "alt=" Wkiom1dfo3yr_ucqaabaqjirfx8474.png-wh_50 "/>
appears, click on the Red box
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/82/B9/wKioL1dfpPnjeEJvAAEOzCKxFGc138.png-wh_500x0-wm_3 -wmp_4-s_3505923688.png "title=" 3.png "alt=" Wkiol1dfppnjeejvaaeozckxfgc138.png-wh_50 "/>
appears, set the port and IP of the React native service
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/82/BB/wKiom1dfpGSwafeaAADTru5XHYA640.png-wh_500x0-wm_3 -wmp_4-s_2129782063.png "title=" 4.png "alt=" Wkiom1dfpgswafeaaadtru5xhya640.png-wh_50 "/>
Finally restart the emulator and execute the "run-android" again.
The above for my pro-test feasible steps.
How to develop a night God simulator in react native Android under Window System