C:\Users\Saurabh\demo\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
ERROR running one or more of the platforms:
Error: C:\Users\Saurabh\demo\platforms\android\cordova\run.bat:
Command failed with exit code 1
You may not have the required environment or OS to run this project.
但是,當我模擬相同的應用程序時,它運行時沒有任何問題。我的環境信息如下 -無法在Android設備上運行離子應用程序
- 科爾多瓦CLI:5.0.0
- 咕嘟咕嘟版本:CLI版本3.9.0
- 咕嘟咕嘟地方:本地版本3.9.0
- 離子版本:1.0.0
- 離子CLI版本:1.5.0
- 離子應用程序庫版本:0.1.0
- 操作系統:Windows 8.1
- 節點版本:v 0.12.2
PS:我已經嘗試刪除並添加平臺。
http://i.stack.imgur.com/YEro9.png
請複製你的www目錄到新創建的phonegap應用程序,並重新安裝所有插件和平臺,它將正常工作。 T –