使用的是react-native的hello-world项目
第一步:创建项目
npm install -g yarn react-native-cli
react-native init AwesomeProject
cd AwesomeProject
//react-native run-android
第二步:导出apk文件
![](https://img2018.cnblogs.com/blog/1037363/201904/1037363-20190411003605341-1287007091.png)
![](https://img2018.cnblogs.com/blog/1037363/201904/1037363-20190411003615944-1358731810.png)
![](https://img2018.cnblogs.com/blog/1037363/201904/1037363-20190411003624760-1391699173.png)
![](https://img2018.cnblogs.com/blog/1037363/201904/1037363-20190411003651360-1131803325.png)
![](https://img2018.cnblogs.com/blog/1037363/201904/1037363-20190411003640187-402182144.png)
第三步:完成之后运行这个
就可以在我们的测试机中看到应用项目啦