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插件能满足平时大部分的开发需求,然而,有时候找不到合 ...
随机推荐
- maxwell简单部署使用
详细资料可以参考maxwell官网 (mysql + maxwell + kafka + elasticsearch) 说明:本文主要是关于配置maxwell监听mysql的数据修改并实时将修改内容 ...
- [深入浅出iOS库]之数据库 sqlite
一,sqlite 简介 前面写了一篇博文讲如何在 C# 中使用 ADO 访问各种数据库,在移动开发和嵌入式领域也有一个轻量级的开源关系型数据库-sqlite.它的特点是零配置(无需服务器),单磁盘文件 ...
- IOError: No translation files found for default language zh-cn.
IOError: No translation files found for default language zh-cn. 检查 ...\Lib\site-packages\Django-1.1 ...
- sublime的markdown插件
mac安装 shift+command+p调出package control面板,搜索install调查安装软件搜索面板 搜索需要安装markdown软件 我安装了下面两个:MarkdownLiveP ...
- maven 配置jetty插件
<build> <finalName>shiroweb</finalName> <plugins> & ...
- The network connection was lost 文件下载错误提示
假设出现这种错误,可能是模拟器断网,重新启动下模拟器就能够:The network connection was lost
- apue学习笔记(第十六章 网络IPC:套接字)
本章将考察不同计算机(通过网络连接)上的进程相互通信的机制:网络进程间通信. 套接字描述符 正如使用文件描述符访问文件,应用程序用套接字描述符访问套接字. 许多处理文件描述符函数(如read和writ ...
- iOS 振动反馈
代码地址如下:http://www.demodashi.com/demo/12461.html 1. 常用场景 继 iPhone7/7P 实体 home 键出现后,home 键再也无法通过真实的物理按 ...
- 使用matlab进行mex编译时的路径问题mexopts
matlab和vs 进行混合编程时总须要使用matlab编译mexFunction.cpp文件. 这些文件免不了使用include下的*.h和lib下的*.lib文件.举例说明.这次我 ...
- 当Design Support Library遇上RecycleView
近期对Design Support Library中的一些新组件做了些研究,当中涉及到CoordinatorLayout.AppBarLayout.CollapsingToolbarLayout,为了 ...