一.问题:

  

解决方案:删除./node_modules/react-native/local-cli/core/__fixtures__/files/package.json,删除前记得备份。

二.在android 7(不确定是不是所有的7点多版本)的环境下运行会出现以下问题:

  React Native unable to load script from assets index.android.bundle on windows

解决方案: 1.在项目中创建android/app/src/main/assets文件夹;

      2.在根目录下执行react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res(注意:新版本的react-native已经不区分index.android.js和index.ios.js);

     3.重新运行项目即可。

 

三.

  

最新文章

  1. Activity系列讲解---三大基本状态与七大生命周期函数
  2. 解决: Fail to create empty document
  3. 【翻译】Sencha Touch2.4 The Layout System 布局
  4. linux/shell 文本文件删除/删掉空行
  5. Python的数据处理学习(二)
  6. Android 打勾显示输入的密码
  7. srvctl 命令
  8. hdu2571动态规划
  9. PHP http(file_get_content) GET与POST请求方式
  10. 树莓派变成一个Web服务器: nginx + php + sqlite
  11. Python datetime模块的datetime类
  12. 实验四 (1):定义一个形状类(Shape)方法:计算周长,计算面积
  13. 图解 (a + b) * (a + b) == a**2 + 2*a*b + b**2
  14. [原]Webpack 3 + AngularJS1.* + Bootstrap 4 + Mapbox-gl
  15. delphi 控制音量 静音的类
  16. Unity---Inspector面板自定义
  17. SCU 4438:Censor
  18. Html中常用的属性
  19. VPS开启Google BBR
  20. Linux命令大观

热门文章

  1. JDK自带的Timer类
  2. java面向对象基础(四):抽象类和接口
  3. 重拾Python(1):使用Anaconda搭建Python开发环境(Windows7)
  4. 企业级Docker私有仓库部署(https)
  5. 系统uid在1-499的原因
  6. Hands-On Machine Learning with Scikit-Learn and TensorFlow---读书笔记
  7. iOS-沙盒目录
  8. java 世界中Annotation
  9. java对象表示方式--XStream
  10. 如何解决Linux 系统下 ifconfig 命令无网络接口 ens33