How to develop a night God simulator in react native Android under Window System

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.