美文网首页
react native 学习第1坑

react native 学习第1坑

作者: TOPro | 来源:发表于2018-05-08 18:57 被阅读25次

立个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
    

相关文章

网友评论

      本文标题:react native 学习第1坑

      本文链接:https://www.haomeiwen.com/subject/rvbwrftx.html