react native 学习第1坑

2018-05-08  本文已影响25人  TOPro

立个flag,避免后来人掉坑

https://facebook.github.io/react-native/docs/getting-started.html#running-your-react-native-application
这一段流畅操作的自行跳过本文

如果你执行到这里


image.png

且已经安卓expo.apk app。这时无论如何扫二维码都,没法发起exp://协议的调用。此时需要如下操作

  1. 对二维码截图,保存,并在 这里 解析 得到类似exp://10.168.1.20:19000的字符串
  2. 使用adb连接手机
  3. 执行
    adb shell am start -a android.intent.action.VIEW -d exp://10.168.1.20:19000
    
上一篇 下一篇

猜你喜欢

热点阅读