首页 > 移动平台 > 详细

【转】RN报错 Could not install the app on the device, read the error above for details. Make sure you hav...

时间:2019-12-27 14:32:39      阅读:339      评论:0      收藏:0      [点我收藏+]

原文网址:https://www.jianshu.com/p/a90f33c960ac

问题:

RN-bug-Android运行时,报错 Could not install the app on the device, read the error above for details. Make sure you have an Android 模拟器

解决:

  1. 环境变量PATH
  2. 配置权限 如果配置环境后不可以运行 可能是无权限运行,在项目下运行 就是为android文件夹下的gradlew命令添加权限, **在根目录下执行 chmod 755 android/gradlew,本次就是用这个方法解决 **
  3. 如果是从github 上clone下来的项目 看看是否有此文件( /android/local.properties),把里面路径改为自己的
参考摘要:

https://blog.csdn.net/qq_30613075/article/details/78878717

【转】RN报错 Could not install the app on the device, read the error above for details. Make sure you hav...

原文:https://www.cnblogs.com/wi100sh/p/12107102.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!