遇到的问题

当react-native run-android运行时打开遇到
Unable to load script.Make sure you’re either running a metro server (run ‘react-native start’ )

解决方案

在创建的项目目录/android/app/build.gradle里修改

这样在重新运行就可以正常打开了

更多相关文章

  1. Android(安卓)Studio使用gradle-experimental构建NDK工程(无需An
  2. Android工程Debug证书过期解决方案 -- eclipse
  3. Android(安卓)Window理解(3.1)---子窗口创建过程:Dialog、PopupWind
  4. android_对话框
  5. android 创建service root权限执行脚本
  6. android 使用eclipse 调试 so
  7. Android(安卓)Sync 同步 源码问题解决方案
  8. 【Android】利用ArrayAdapter/SimpleAdapter创建ListView
  9. Android打包编译shrinkResources true报错解决方案

随机推荐

  1. Android:Looper类,Looper.prepare()和Loope
  2. Android滑动菜单
  3. Jack 服务编译问题 Android(安卓)7.0
  4. Android的BUG(五)- Android跨进程使用Graph
  5. Android基于Ffmpeg 的软编软解的可视对讲
  6. [Android1.6]横竖屏切换时自动弹出键盘的
  7. 手机改 user模式为debug模式
  8. 使用android真机测试http网络连接异常解
  9. Android常用布局范例
  10. Android(安卓)Zxing集成