簡體   English   中英

在Android設備拋出命令上從Visual Studio 2013調試Cordova應用失敗,退出代碼為2

[英]Debug cordova app from Visual Studio 2013 on Android Device throwing Command failed with exit code 2

我正在嘗試從VS 2013在Android設備上調試我的cordova應用,但在我按F5鍵時遇到以下錯誤:

錯誤1

C:\Project Path\bld\Debug\platforms\android\cordova\build.bat: Command failed with exit code 2  

File: ERROR building one of the platforms

錯誤2

C:\Project Path\bld\Debug\platforms\android\cordova\build.bat: Command failed with exit code 2

File: MDAVSCLI

這是我得到的僅有的兩個錯誤,並且不清楚可能是什么問題。

我已經檢查了ADT,Java和ANT的所有系統環境變量,它們看起來正確。

任何幫助將不勝感激。

提前致謝。

我能夠找到解決方案。 我搬到了Visual Studio 2015社區版,它對我來說很好用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM