cordova 插件创建
peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\peng\AppData\Roaming\npm\cordova -> C:\Users\peng\AppData\Roaming\npm\node_modules\cordova\bin\cordova
- isarray@1.0.0 node_modules\cordova\node_modules\buffer\node_modules\isarray
- semver@5.3.0 node_modules\cordova\node_modules\cordova-lib\node_modules\semver
- q@1.5.0 node_modules\cordova\node_modules\cordova-serve\node_modules\q
- string_decoder@1.0.3 node_modules\cordova\node_modules\readable-stream\node_modules\string_decoder
C:\Users\peng\AppData\Roaming\npm
`-- cordova@7.1.0
+-- cordova-common@2.1.1
| +-- bplist-parser@0.1.1
| | `-- big-integer@1.6.25
| `-- q@1.5.1
+-- cordova-lib@7.1.0
| +-- aliasify@2.1.0
| | `-- browserify-transform-tools@1.7.0
| | `-- falafel@2.1.0
| | `-- acorn@5.2.1
| +-- cordova-create@1.1.1
| | +-- cordova-common@2.0.3
| | | +-- q@1.5.1
| | | `-- shelljs@0.5.3
| | `-- cordova-fetch@1.1.0
| | +-- q@1.5.1
| | `-- shelljs@0.7.8
| | `-- glob@7.1.2
| +-- cordova-fetch@1.2.0
| | +-- q@1.5.1
| | `-- shelljs@0.7.8
| | `-- interpret@1.0.4
| +-- cordova-js@4.2.2
| | `-- browserify@14.4.0
| | +-- buffer@5.0.8
| | +-- concat-stream@1.5.2
| | | `-- readable-stream@2.0.6
| | | `-- string_decoder@0.10.31
| | +-- crypto-browserify@3.11.1
| | | +-- browserify-cipher@1.0.0
| | | | +-- browserify-aes@1.1.1
| | | | `-- evp_bytestokey@1.0.3
| | | +-- browserify-sign@4.0.4
| | | | `-- parse-asn1@5.1.0
| | | | `-- asn1.js@4.9.2
| | | +-- diffie-hellman@5.0.2
| | | | `-- miller-rabin@4.0.1
| | | `-- pbkdf2@3.0.14
| | +-- https-browserify@1.0.0
| | +-- insert-module-globals@7.0.1
| | | `-- is-buffer@1.1.6
| | +-- resolve@1.5.0
| | +-- shasum@1.0.2
| | | `-- sha.js@2.4.9
| | `-- string_decoder@1.0.3
| +-- cordova-serve@2.0.0
| | +-- compression@1.7.1
| | | +-- bytes@3.0.0
| | | +-- compressible@2.0.12
| | | +-- debug@2.6.9
| | | `-- vary@1.1.2
| | +-- express@4.16.2
| | | +-- body-parser@1.18.2
| | | | +-- http-errors@1.6.2
| | | | | `-- setprototypeof@1.0.3
| | | | +-- iconv-lite@0.4.19
| | | | `-- raw-body@2.3.2
| | | +-- content-type@1.0.4
| | | +-- etag@1.8.1
| | | +-- finalhandler@1.1.0
| | | +-- fresh@0.5.2
| | | +-- parseurl@1.3.2
| | | +-- proxy-addr@2.0.2
| | | | +-- forwarded@0.1.2
| | | | `-- ipaddr.js@1.5.2
| | | +-- qs@6.5.1
| | | +-- send@0.16.1
| | | | `-- mime@1.4.1
| | | +-- serve-static@1.13.1
| | | +-- setprototypeof@1.1.0
| | | `-- utils-merge@1.0.1
| | `-- open@0.0.5
| +-- request@2.79.0
| | `-- mime-types@2.1.17
| | `-- mime-db@1.30.0
| `-- tar@2.2.1
| `-- fstream@1.0.11
| `-- rimraf@2.6.2
+-- insight@0.8.2
| `-- tough-cookie@2.3.3
+-- nopt@3.0.1
| `-- abbrev@1.1.1
`-- update-notifier@0.5.0
`-- latest-version@1.0.1
`-- package-json@1.2.0
`-- registry-url@3.1.0
`-- rc@1.2.2 peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ cordova -v
7.1.0 peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ cordova plugin add E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\MyMath
Error: Failed to fetch plugin E:_My_File______workMyCodemyCodecordova-workspaceplugman-testMyMath via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 4294963238 Error output:
npm ERR! addLocal Could not install E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workMyCodemyCodecordova-wo
kspaceplugman-testMyMath
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\\_____Soft______\\node\\node.exe" "c:\\_____Soft______\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "E:_My_File______workMy
odemyCodecordova-workspaceplugman-testMyMath" "--production" "--save"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workMyCodemyCodecordova-workspaceplugman-testMyM
th
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workM
CodemyCodecordova-workspaceplugman-testMyMath'
npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workM
CodemyCodecordova-workspaceplugman-testMyMath'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
$ cordova -v
7.1.0RR! Please include the following file with any support request:
npm ERR! e:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\npm-debug.log peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ npm install -g plugman
C:\Users\peng\AppData\Roaming\npm\plugman -> C:\Users\peng\AppData\Roaming\npm\node_modules\plugman\main.js
peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ - plugman@1.5.1 peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ ng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ plugman -v
peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$
peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ ll peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ npm ERR! Windows_NT 6.1.7601 peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ cordova plugin add E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\MyMath peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ cordova plugin add E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\MyMath --save
Error: Failed to fetch plugin E:_My_File______workMyCodemyCodecordova-workspaceplugman-testMyMath via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 4294963238 Error output:
npm ERR! addLocal Could not install E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workMyCodemyCodecordova-wo
kspaceplugman-testMyMath
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\\_____Soft______\\node\\node.exe" "c:\\_____Soft______\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "E:_My_File______workMy
odemyCodecordova-workspaceplugman-testMyMath" "--production" "--save"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workMyCodemyCodecordova-workspaceplugman-testMyM
th
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workM
CodemyCodecordova-workspaceplugman-testMyMath'
npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\_My_File______workM
CodemyCodecordova-workspaceplugman-testMyMath'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent npm ERR! Please include the following file with any support request:
npm ERR! e:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\npm-debug.log peng@PENG-PC /E/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/ABCD
$ cordova plugin add E:/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/MyMath
Installing "SimpleMath" for android
ANDROID_HOME=C:\_____Soft______\Androidsdk
JAVA_HOME=C:\_____Soft______\java
Subproject Path: CordovaLib
Downloading https://services.gradle.org/distributions/gradle-3.3-all.zip
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................................................................................................
.....................................................................
Unzipping C:\Users\peng\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9\gradle-3.3-all.zip to C:\Users\peng\.gradle\wrapper\dists\grad
e-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9
Starting a Gradle Daemon (subsequent builds will be faster)
> Configuring > 0/2 projects > root project > Resolving dependencies ':classpath'
> Configuring > 0/2 projects > root project
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_gnb9f5t9x4x9dp6xto4xghds.run(E:\_My_File_____\_work\MyCode\myCode\cordova-workspace\plugman-test\ABCD\platforms\android\build.gradle
137)
> Configuring > 1/2 projects > Resolving dependencies ':_debugApk' > :CordovaLib > Resolving dependencies ':CordovaLib:classpath'
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmp
y() instead.
:clean
:CordovaLib:clean BUILD SUCCESSFUL Total time: 14 mins 50.655 secs
Adding SimpleMath to package.json
Saved plugin info for "SimpleMath" to config.xml
cordova 插件创建的更多相关文章
- cordova插件iOS平台实战开发注意点
cordova插件是其设计理念的精髓部分,创建并使用自定义插件也是一件比较容易的事.但在这个过程中也容易进入一些误区或者有一些错误的理解,下面从笔者实际开发中遇到的问题出发,对其中的一些注意点和重要概 ...
- cordova安装--创建ionic项目
1.简介ionic ionic 是一个强大的 HTML5 应用程序开发框架(HTML5 Hybrid Mobile App Framework ). 可以帮助您使用 Web 技术,比如 HTML.CS ...
- ionic实战系列(二):使用cordova插件
本章主要关注cordova的各种插件,利用好手机(移动设备)的原生功能.首先cordova是一个将web网页内嵌到原生app的平台(核心功能),然后cordova拥有的插件系统扩展了核心功能. Cor ...
- cordova插件汇总
1.获取当前应用的版本号 cordova plugin add cordova-plugin-app-version 2.获取网络连接信息 cordova plugin add cordova-plu ...
- 自定义 Cordova插件(基础篇)
cordova自定义插件 注意:存放自定义cordova插件目录不能有空格可能会报错 cordova的安装 下载node.js,安装完成后你可以在命令行中使用node和npm. 安装cordova使用 ...
- 自定义 Cordova插件详解
一.Cordova的基础点 在混合式应用中,我们通过现有的Cordova插件,可以轻松的在 H5 上调用手机native的功能.现有的Cordova插件能满足平时大部分的开发需求,然而,有时候找不到合 ...
- 自定义Cordova插件(基础篇)
cordova自定义插件 注意:存放自定义cordova插件目录不能有空格可能会报错 cordova的安装 下载node.js,安装完成后你可以在命令行中使用node和npm. 安装cordova使用 ...
- Cordova与现有框架的结合,Cordova插件使用教程,Cordova自定义插件,框架集成Cordova,将Cordova集成到现有框架中
一.框架集成cordova 将cordova集成到现有框架中 一般cordova工程是通过CMD命令来创建一个工程并添加Android.ios等平台,这样的创建方式可以完整的下载开发过程中所需要的的插 ...
- 自定义Cordova插件详解
一.Cordova的基础点 在混合式应用中,我们通过现有的Cordova插件,可以轻松的在 H5 上调用手机native的功能.现有的Cordova插件能满足平时大部分的开发需求,然而,有时候找不到合 ...
随机推荐
- apache url rewrite问题
apache RewriteEngine Your browser sent a request that this server could not understand http://www.ra ...
- iphone/iOS 访问本地数据库sqlite3
Phone也支持访问本地数据库Sqlite 3.这里简单的介绍一下iPhone上Sqlite 3的使用方法. 首先需要在项目中引用Sqlite 3的开发包,下面是在iPhone SDK 3.0下的目录 ...
- MD5 algorithm in Objective C
How to calculate the MD5 in objective C ? md5 is available on the iPhone and can be added as an exte ...
- 【spring boot logback】日志logback格式解析
日志logback格式解析 logback官网 格式解析 https://logback.qos.ch/manual/layouts.html#ClassicPatternLayout 官网格式解析有 ...
- 每天学一点Python(2)
9月16日(python扩展的安装和使用) 接着上一篇继续.按照之前计划,先分析导出的数据,再做进一步统计. 导出的数据是html类型的,想到的处理方法有: 1.直接readlines然后一行一行找我 ...
- python 类和__class__理解
__class__可理解为对象所属的父类 class A: def __init__(self,url): self.url = url def out(self): return self.url ...
- iscroll 子表左右滚动同时保持页面整体上下滚动
if ( this.options.preventDefault && !utils.isBadAndroid && !utils.preventDefaultExce ...
- 课程设计之"网络考试系统"(php、Extjs)
1.TestSystem大概结构框图 2.数据库设计(11张表) 数据库名称:db_testsystem 数据库表: tb_admin 记录题库管理员帐户信息 代码 tb_allcontent 记录随 ...
- 穿透内网防线,USB自动渗透手法总结
USB(Universal Serial Bus)原意是指通用串行总线,是一个外部总线标准,用于规范电脑与外部设备的连接和通讯,这套标准在1994年底由英特尔.康柏.IBM.Microsoft等多家公 ...
- 我的Android进阶之旅------>怎样在多个LinearLayout中加入分隔线
假设要适合于全部的Android版本号,能够在多个LinearLayout放置用于显示分隔线的View. 比如,放一个ImageView组件.然后将其背景设为分隔线的颜色或图像,分隔线View的定义代 ...