【转】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
收藏:0
阅读:343
原文网址: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 模拟器
解决:
- 环境变量PATH
- 配置权限 如果配置环境后不可以运行 可能是无权限运行,在项目下运行 就是为android文件夹下的gradlew命令添加权限, **在根目录下执行 chmod 755 android/gradlew,本次就是用这个方法解决 **
- 如果是从github 上clone下来的项目 看看是否有此文件( /android/local.properties),把里面路径改为自己的
参考摘要:
原文:https://www.cnblogs.com/wi100sh/p/12107102.html
评论(0)