$ cd myproject

$ react-native start > /dev/null 2>&1 & 

$ curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"


(if the folder assets does not exists create it)

Then run from project root

$> (cd android/ && ./gradlew assembleDebug)


install the created apk to you device, from location: android/app/build/outputs/apk/app-debug.apk

let me know if that fixes your issue

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 照片上传图片旋转(ios和android)
  2. Android有用代码片段(零)
  3. 谷歌手机地图android 设置 出现xxxx进程
  4. ANDROID BASE64编码解码
  5. Reader读取TcpDump读取的Pcap包
  6. Android(安卓)Studio 第一次安装可能遇到
  7. ubuntu 下android真机测试配置
  8. React native 报错:index.android.js` was
  9. android SMS以及其他消息推送机制的相关
  10. Android(安卓)Studio开发应用