问题描述
我从git克隆了一个现有的离子项目。我有 ionic 1.3.2
和 cordova 4.2.0
。克隆后,我 cd
进入目录并执行离子浏览器添加人行横道
。它说成功添加了人行横道。然后,当我尝试离子运行android
时,它说
I cloned an existing ionic project from git. I have ionic 1.3.2
and cordova 4.2.0
. After cloning, i cd
ed into the directory and did an ionic browser add crosswalk
. It says that crosswalk was added successfully. Then when i try to do ionic run android
, it says
所以我做一个 ioinic平台添加android
,这给了我这个错误:
So i do a ioinic platform add android
, which gives me this error:
离子平台添加[email protected]
返回
如何解决此问题?
PS我正在使用ubuntu 14.04
P.S. I am using ubuntu 14.04
推荐答案
问题是人行横道浏览器。
The problem is crosswalk browser.
如果你恢复到android webview,这很糟糕,但有效。
If you revert back to android webview, which sucks, but works.
离子浏览器还原android
离子平台rm android
离子平台添加android
ionic browser revert android
ionic platform rm android
ionic platform add android
截至今日,2015年4月9日。我已经能够回到旧项目并在更新节点运行时添加人行横道,离子,cordova
As of today, 4/9/2015. I have been able to go back to the old projects and add crosswalk after updating node runtime, ionic, cordova
这篇关于不能添加离子cli的人行横道1.3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!