ionic browser add crosswalk 报错
ionic browser add crosswalk时报错。项目下build文件夹都被删除了,找不到旧的apk和打包后的apk。
这是什么问题?
D:\project>ionic browser add crosswalk
Adding crosswalk browser
You are running Cordova CLI 4.3.0 - installing Cordova Android and Crosswalk man
ually
Downloading: https://github.com/driftyco/cordova-crosswalk-engine/archive/c0.7.1
.zip
Downloaded cordova-crosswalk-engine
Downloading: https://github.com/driftyco/cordova-android/archive/c0.6.1.zip
Finished downloading cordova-android v4.0.x
Altered permissions for Android Paths
Downloaded Cordova Android for Crosswalk
Downloading: https://download.01.org/crosswalk/releases/crosswalk/android/stable
/12.41.296.5/arm/crosswalk-webview-12.41.296.5-arm.zip
Downloading: https://download.01.org/crosswalk/releases/crosswalk/android/stable
/12.41.296.5/x86/crosswalk-webview-12.41.296.5-x86.zip
[========= ]34%144.6s
Copying over Crosswalk Webview (x86) to the Crosswalk Engine
Finished copying Crosswalk Webview (x86) to the Crosswalk Engine
[=============================]100%0.0s
Copying over Crosswalk Webview (arm) to the Crosswalk Engine
Finished copying Crosswalk Webview (arm) to the Crosswalk Engine
Downloaded Crosswalk webviews
Removed old Cordova Android platform
Added ./engine/cordova-android-c0.6.1/ platform
Added Cordova Android 4.0
4.0.0-dev
Error: [TypeError: Uh oh!
Invalid Version: ]
TypeError: Uh oh!
Invalid Version:
at new SemVer (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node
_modules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semver
.js:271:11)
at compare (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_mo
dules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semver.js
:424:10)
at Function.lt (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\nod
e_modules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semve
r.js:458:10)
at Object.module.exports.framework.install (C:\Users\syni0515\AppData\Roamin
g\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\ionic-cordova-l
ib\src\plugman\platforms\android.js:150:62)
at installWrapper (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\
node_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\platforms\platform
s.js:77:32)
at Object.ActionStack.process (C:\Users\syni0515\AppData\Roaming\npm\node_mo
dules\ionic\node_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\plugma
n\util\action-stack.js:68:25)
at handleInstall (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\n
ode_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\plugman\install.js:
554:20)
at C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modules\ion
ic-app-lib\node_modules\ionic-cordova-lib\src\plugman\install.js:346:28
at _fulfilled (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node
_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\syni0515\AppData\Roaming\npm\node_mod
ules\ionic\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\syni0515\AppData\Roaming\npm\no
de_modules\ionic\node_modules\q\q.js:749:13)
at C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q
.js:509:49
at flush (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modu
les\q\q.js:108:17)
at process._tickCallback (node.js:355:11)
✗
An error with adding Crosswalk browser occured TypeError: Uh oh!
Invalid Version:
TypeError: Uh oh!
Invalid Version:
at new SemVer (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node
_modules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semver
.js:271:11)
at compare (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_mo
dules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semver.js
:424:10)
at Function.lt (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\nod
e_modules\ionic-app-lib\node_modules\ionic-cordova-lib\node_modules\semver\semve
r.js:458:10)
at Object.module.exports.framework.install (C:\Users\syni0515\AppData\Roamin
g\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\ionic-cordova-l
ib\src\plugman\platforms\android.js:150:62)
at installWrapper (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\
node_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\platforms\platform
s.js:77:32)
at Object.ActionStack.process (C:\Users\syni0515\AppData\Roaming\npm\node_mo
dules\ionic\node_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\plugma
n\util\action-stack.js:68:25)
at handleInstall (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\n
ode_modules\ionic-app-lib\node_modules\ionic-cordova-lib\src\plugman\install.js:
554:20)
at C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modules\ion
ic-app-lib\node_modules\ionic-cordova-lib\src\plugman\install.js:346:28
at _fulfilled (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node
_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\syni0515\AppData\Roaming\npm\node_mod
ules\ionic\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\syni0515\AppData\Roaming\npm\no
de_modules\ionic\node_modules\q\q.js:749:13)
at C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q
.js:509:49
at flush (C:\Users\syni0515\AppData\Roaming\npm\node_modules\ionic\node_modu
les\q\q.js:108:17)
at process._tickCallback (node.js:355:11)
Uh oh!
Invalid Version:(CLI v1.6.1)
Your system information:
Cordova CLI: 4.3.0
Ionic Version: 1.0.1
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
OS: Windows 7 SP1
Node Version: v0.12.5
新的安装方式变了
参考这个文档
找到4.X+ 的安装现在更简单了直接集成cordova 插件了,一句话搞定
https://crosswalk-project.org/documentation/cordova.html 本帖最后由 skytom 于 2015-7-24 11:47 编辑
admin 发表于 2015-7-23 22:04
新的安装方式变了
参考这个文档
多谢坛主解答!
但是这样一来,原来apk就没有了?
导入Eclipse出现了纯数字名字的项目,怎么改都报错,删除了该项目,主项目也没报错。
skytom 发表于 2015-7-24 11:29
多谢坛主解答!
但是这样一来,原来apk就没有了?
导入Eclipse出现了纯数字名字的项目,怎么改都报错,删 ...
新的这个你用命令打包试试
页:
[1]