cordova Process finished with exit code -1
来源:互联网 发布:微表情心理学软件 编辑:程序博客网 时间:2024/05/29 18:10
http://www.androiddevtools.cn/#gradle
cordova Process finished with exit code -1
安装完cordova之后,创建一个测试项目后,运行报Process finished with exit code -1,经过查找原因,是因为gradle没有安装,在http://www.androiddevtools.cn/#gradle 这里下载gradle,下载解压完成后,查看getting-started 这个文件安装gradle,安装完成后,在命令行中运行 cordova build android,会自动下载需要的插件,下载过程中asm-tree-4.0.jar需要设置代理才能安装成功,去http://www.lefeiweb6.net/?fromuser=goy2blog 这里注册个用户,成功后再次运行 cordova build android插件下载成功,编辑也不报错了。
Error: Failed to fetch platform ios
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: shasum check failed for /var/folders/cs/y46hzyt10b1_3yjkql4xz2v40000gn/T/npm-2509-8c2e0614/registry.npmjs.org/cordova-ios/-/cordova-ios-4.2.1.tgz
Expected: 7ffcb5f3a8e04d8d5e4bbc8b0637d07064557e73
Actual: 74f687e4cbed27c2feaf312228d2ac9d4397deae
From: https://registry.npmjs.org/cordova-ios/-/cordova-ios-4.2.1.tgz
解决方法:
(1)
npm set registry https://registry.npm.taobao.org # 注册模块镜像npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像npm cache clean # 清空缓存
(2)
sudo npm install -g cordova- cordova Process finished with exit code -1
- process finished with exit code 52
- android Process finished with exit code 0
- tensorflow bug: Process finished with exit code -1073740791 (0xC0000409)
- pyCharm Process finished with exit code -1073740791 (0xC0000409)
- Android Studio各种坑爹之:finished with non-zero exit value 1和Return code 1 for dex process.
- bug宝典node篇 nodejs Process finished with exit code 0
- 运行tensorflow的例子,出现Process finished with exit code 3问题
- python 使用requests时提示Process finished with exit code -1073741819 (0xC0000005)
- Python 运行出现Process finished with exit code -1073741515 (0xC0000135)错误
- python 中文字符报错Process finished with exit code 0
- Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
- finished with exit code -1073740791 (0xC0000409)
- Process 'command '**/ndk-build.cmd'' finished with non-zero exit value 1
- Process 'command ...xxx.exe'' finished with non-zero exit value 1
- Process 'command '**/ndk-build.cmd'' finished with non-zero exit value 1
- cordova---cordova build android命令报错,Command failed with exit code 1 Error output:
- puppet kick forbidden finished with exit code 2
- 数据库的基本操作之一些基本语句
- 查看正在执行的mysql指令
- Arduino—电机控制
- meta标签中的http-equiv属性使用介绍
- 链栈
- cordova Process finished with exit code -1
- JVM学习01——内存区域及内存溢出
- Spring Boot 之 Scheduling Tasks定时任务
- JavaSE 俄罗斯方块
- python安装scrapy框架
- python中argsort的使用-排序
- logstash 处理各种时间格式
- 数据库的基本操作之单列添加
- 300. Longest Increasing Subsequence