使用默認的Blank Cordova項目VS2015
更新1,我試圖發佈(Debug > Android > Device
)到Android模擬器(Tools > Visual Studio Emulator for Android
),並且出現以下錯誤:VS 2015 + Cordova + Emulator for Android =錯誤「無法部署」
Severity Code Description Project File Line Suppression State
Error Unable to deploy to Android device, no attached device was found. If you recently attached a device, you may need to wait a few seconds before it is recognized. BlankCordovaApp2
我也收到以下錯誤,當我在彈出的部署錯誤窗口中單擊Yes
:
Operation not supported. Unknown error:0x80070057
沒有運氣與以下。
- 我重新安裝了
Android SDK Manager
並更新了文件。 - 我刪除,然後重新安裝VS2015社區。
- 我可以使用adb.exe來檢查仿真器設備,它會看到設備。
- Android模擬器似乎正在工作並正常顯示。
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK
指向正確的位置- 改名CoreCon
- 然依賴項檢查器(工具>選項>爲Apache科爾多瓦工具)
- 我可以用ADB安裝文件夾部署在Android模擬器.apk文件包\ location \ xxx.apk
有什麼想法?
確實附加了使用USB的任何移動設備? – Webruster
@Webruster當前沒有移動設備通過USB連接到電腦。 –
是的,那麼你是無法部署它,設置sartget'漣漪',而不是部署,並嘗試建立它 – Webruster