我的真實Windows Phone 8.1(Nokia Lumia 6.3)部署了我的Cordova應用程序時出現嚴重問題。我在VirtualBox VM上運行Windows 8.1 Pro,並安裝了Visual Studio 2013 Update 4。構建應用程序的工作就像一個魅力,但運行...將Cordova應用程序部署到真正的Windows Phone 8.1設備時出現問題
cordova run windows --device -- --phone
...導致以下錯誤信息:
Deploying phone package to device:
C:\Users\TestUser\Kunden\company\testproj\produkte\sencha-cordova\cordova\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
Installing application
Fehler: Dieser Vorgang wurde wegen Zeitüberschreitung zurückgegeben. (english: "The process aborted due to timeout.")
ERROR: Error code 2148734208 for command: C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe with args: /install,C:\Users\Marco\Kunden\company\testproj\produkte\sencha-cordova\cordova\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle,/targetdevice:de
ERROR running one or more of the platforms: Error: C:\Users\TestUser\Kunden\company\testproj\produkte\sencha-cordova\cordova\platforms\windows\cordova\run.bat: Command failed with exit code 2
You may not have the required environment or OS to run this project
我已經使用phonereg.exe註冊的手機作爲一個開發商的電話,所以這不是問題。此外,手機在「我的電腦」下列爲「Windows Phone」。
也在Visual Studio 2013以外的設備上運行不起作用。在這裏,錯誤信息是:
Fehler 1 Fehler : DEP6100 : Beim Bootstrapping ist in Stufe 'Verbindung mit Gerät wird hergestellt' der folgende unerwartete Fehler aufgetreten:
SmartDeviceException - Dieser Vorgang wurde wegen Zeitüberschreitung zurückgegeben. CordovaApp.Phone
Fehler 2 Fehler : DEP6200 : Boostrapping für 'Device' fehlgeschlagen. Das Gerät wurde nicht gefunden. Dieser Vorgang wurde wegen Zeitüberschreitung zurückgegeben.
CordovaApp.Phone
英文:
Error 1 Error : DEP6100 : While Bootstrapping ist in Stufe 'Verbindung mit Gerät wird hergestellt' the following exception has been thrown:
SmartDeviceException - The process has been aborted due to timeout. CordovaApp.Phone
Error 2 Error : DEP6200 : Boostrapping for 'Device' failed. The device has not been found. The process has been aborted due to timeout.
CordovaApp.Phone
任何人都有一個想法,怎麼辦?
啊,我剛剛做到了。事實上,問題是virtualbox :-(我給vmware播放器(免費)一試,現在它至少將應用程序轉移到手機(它立即關閉,但我將不得不稍後調試)。 –