2016-02-02 25 views
1

我有一個現有的Ionic應用程序,我試圖在我的Windows 10手機上測試,但我無法將Ionic(或Cordova)部署到手機。我已經加入使用ionic platform add windows Windows平臺,然後試圖用ionic run windows --device -- --phone --archs="x86"部署而導致:Ionic/Cordova不會部署到Windows 10手機

Deploying app package... 
Unexpected error from installation: 
Error: Not implemented 
You may have previously installed the app with an earlier version of cordova-windows. 
Ensure the app is uninstalled from the phone and then try to run again. 
ERROR: Error: Not implemented 

如果我做ionic run windows --list拿到檢測設備列表我得到這個:

Available windows devices: 
0. Device (device) 
Available windows virtual devices: 
No devices found matching the specified criteria. 

如果我嘗試直接部署到0. Device (device),然後在我的臺式計算機上啓動應用程序。

Windows本身可以「看到」我的Windows 10手機,我可以在Windows資源管理器中瀏覽它的內容。

我也在手機上啓用了開發者模式,因此它可以從任何地方加載應用程序,並且我已經購買了Windows開發人員許可證來查看這是否有幫助,但沒有。

最後,我嘗試使用設備門戶功能,在安裝應用程序,但是當我嘗試安裝它,我得到這個錯誤:

Failure reason: Failed to start deployment. Failure text: No signature was present in the subject. 
(0x800b0100) 

有沒有其他人能夠給離子/科爾多瓦的應用程序部署到一個Windows 10設備?如果是這樣,你是如何設置它的?

+0

如果你做一個文件新的Windows 10項目,你可以部署到手機? – Quincy

+0

我剛剛嘗試了一個新的空白項目通過VS2015,這工作。它部署到電話 –

回答

-2

在Windows的開始菜單中鍵入services.msc並啓動Windows Phone IP Over Usb服務。

1

我有同樣的問題。 默認情況下,cordova build命令會生成兩個包:Windows 8.1和Windows Phone 8.1。要將Windows軟件包升級到版本10,必須將以下配置設置添加到配置文件(config.xml)。

<preference name="windows-target-version" value="10.0" />

這解決了這個問題。

+0

建立'2)時出現此錯誤:錯誤:「10.0.10240.0」不是TargetPlatformMinVersion支持的值。請在「項目屬性」頁面上更改它。 [F:\開發\ ionic2 \ Trackours \平臺\ WINDOWS \ CordovaApp.Windows10.jsproj]' –

相關問題