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插件能满足平时大部分的开发需求,然而,有时候找不到合 ...
随机推荐
- CPU、内存、IO虚拟化关键技术及其优化探索
https://yq.aliyun.com/articles/71295?spm=5176.8091938.0.0.3LQ7NM
- SQL SERVER 技术博客 外文
https://www.sqlskills.com/blogs/paul/capturing-io-latencies-period-time/ http://www.sqlskills.com/bl ...
- windows service 调试
在程序运行入口调试 #if DEBUG Debugger.Launch(); #endif
- [ios]objective-c 协议和委托 (重点基础知识)
objective-c protocol delegateprotocol-协议,就是使用了这个协议后就要按照这个协议来办事,协议要求实现的方法就一定要实现. delegate-委托,顾名思义就是委托 ...
- 安卓Webview缓存网页数据(无网络正常显示)
热度 1已有 52 次阅读2016-8-26 17:53 |个人分类:常见问题|系统分类:移动开发 一.需求经历 最近的项目是一个原生 +webview 显示的 APP,一开始的时候,网站那边要求我们 ...
- ImportError: cannot import name patterns
The use of patterns is deprecated in Django1.10. Therefore do not import 'patterns' and your url pat ...
- ubuntu下C/C++编程起步
1. 安装VMware虚拟机软件 2. 在VMware中安装linux系统,这里安装的是Ubuntu.(用 VMware 安装 Ubuntu 12.04详细过程图解) 3. ubuntu有自带文本编辑 ...
- java基础篇1之可变参数,增强for循环,自动装箱
1.java中可变参数应用 例如 add(int x,int... args) 1)只能放在参数列表的最后面 2)...位于变量类型和变量名之间,前后有无空格都可以 3)调用可变参数的方法时,编译器为 ...
- 设计模式之Protocol实现代理模式
使用场合 使用步骤 不使用protocol实现代理 使用protocol实现代理 一.使用场合 A想让B帮忙,就让B代理 A想通知B发生了一些事情,或者传一些数据给B 观察者模式 二.使用步骤 定义一 ...
- C语言批量数据到动态二维数组
上一篇文章将文件读取放到静态创建的二维数组中,可是结合网络上感觉到今天的DT时代,这样批量大量读取一个上百行的数据,分配的内存是否可能由于大量的数据而产生溢出呢,近期一直研究里malloc函数.通过它 ...