Could not install the app on the device, read the error above for details. Make sure you have an And
React Native 报错如下
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html。
解决:
1、环境变量PATH
create (or edit) ~/.bashrc
添加 android sdk path 环境如下命令
export ANDROID_HOME=/Users/ouhimehime/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
2、配置权限
如果配置环境后不可以运行 可能是无权限运行
在项目下运行 就是为android文件夹下的gradlew命令 添加权限
chmod 755 android/gradlew
3、如果是从github 上clone下来的项目 看看是否有如下文件,把里面路径改为自己的
Could not install the app on the device, read the error above for details. Make sure you have an And相关推荐
- 在react-nactive项目中运行时,报错error Failed to install the app
在react-nactive项目中运行时,报错 error Failed to install the app. Make sure you have the Android development ...
- App 打包提交APP Store途中遇到蛋疼的ERROR ITMS-90035
背景说明 自己制作了一个类库Framework,其中使用了第三方的库和资源(xxx.bundle),导出Framework时,这些资源也被打包到Framework中,我把这个库引入到项目中进行开发. ...
- Failed to launch emulator 和 Failed to install the app解决方法
1.按照react-native官网配置好android开发环境,创建一个新项目,然后在vscode使用npm start和npm run android 运行打包的时候,报了上面两个错误.(这是在创 ...
- Failed to install the app. Please accept all necessary SDK licenses using SDK Manager: $ANDROID_HO
是否有这种错误,这时候你需要安装android-28 QQ群634196762
- 解决在iTunes Connect 创建App时出现There was an error creating your Bundle ID.
昨天在iTunes Connect上创建App,填写完所有信息点击创建后既然报" There was an error creating your Bundle ID.",问度娘. ...
- 关于pip3 install tesserocr pillow安装失败,报错error: subprocess-exited-with-error的解决办法
猜测失败原因: tesserocr和pillow不能同时安装,而应该先安装tesserocr,然后再安装pillow 1.首先我下载并安装了tesseract-ocr-w64-setup-v5.3.0 ...
- npm install报错:gyp verb `which` failed Error: not found: python2
npm install后控制台报异常: npm WARN old lockfile npm WARN old lockfile The package-lock.json file was creat ...
- linux yum install * Loaded plugins: * mirror speeds from cached hostfile Error:Nothing to do
linux yum install screen Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Er ...
- native 真机测试react_react-native真机调试出现Failed to install all
使用的魅蓝note手机进行调试,没有想到就出现这个问题了. 错误信息: Installing APK 'app-debug.apk' on 'm1 note - 5.1' for app:debug ...
最新文章
- 广东时代互联---网络管理面试
- 伸展树算法c语言,数据结构伸展树介绍及C语言的实现方法
- DeepMind提出新型神经网络架构,用无监督方法从视频中提取关键点 | 论文
- PHP mysql 事务处理实例
- spring boot 在eclipse里启动正常,但打包后启动不起来
- sort函数——利用函数实现快速排序c++
- 20145227《信息安全系统设计基础》第一周学习总结
- search has not been saved
- miniuidatagrid只允许修改某一列_State Processor API:如何读取,写入和修改 Flink 应用程序的状态...
- Android AnimatedVectorDrawable
- 解决servlet中get方式中中文乱码问题前驱(一):装饰者模式再理解
- MySQL数据以全量和增量方式,同步到ES搜索引擎
- MyBatis笔记(一) 最简单的select
- 内置函数的数据聚合NumpyPandas
- 计算机考试关于计算量,2020年税务师考试计算器要求、考试教材变化及题型题量...
- (附源码)ssm牙科诊所预约网站 毕业设计 260952
- 100%快速解决谷歌翻译无法使用的问题,附修复工具
- 通过for循环生成简单的座位表
- 二分+秦九韶算法 求凸点
- Attention!当推荐系统遇见注意力机制