Debugging a Cordova (android) application with Visual Studio 2015 New emulator

I'm not sure if I'm doing something stupid or just against bleeding. I am developing a simple Cordoba application, but this is academic, as I can repeat this problem with the default default “Wizzard”.

I had an application for working and debugging with VS2013 using both Ripple and sometimes using a real device. I don’t have constant access to the device, so I thought Id would try the new VS2015 CTP5 with emulator. So far, so good. All assemblies are in order, and the application is deployed to the emulator and launched. However, VS is stuck in the "deployment" process and never exits. To the extent that I should "ctrl-Break" from it. and the debugger never starts. The last few lines of assembly output:

2>  Built the following apk(s):
2>      C:\Users\Brett\Documents\VisualStudioCordova\Projects\mblapp\mblapp\bld\Debug\platforms\android\ant-build\CordovaApp-debug.apk
2>  Using apk: `C:\Users\Brett\Documents\VisualStudioCordova\Projects\mblapp\mblapp\bld\Debug\platforms`\android\ant-build\CordovaApp-debug.apk
2>  Installing app on device...
2>  Launching application...
2>  LAUNCH SUCCESS
2>  Command finished with error code 0: `C:\Users\Brett\Documents\VisualStudioCordova\Projects\mblapp\mblapp\bld\Debug\platforms`\android\cordova\run.bat --nobuild,--target=169.254.138.177:5555,--debug
2>  

So there is a mistake, but I really don't understand what that means.

, VS2013, 2015 -, Ripple .. .. javascript : " ' . 2015 , , 2015 , VS 2013.. .. .

, , , 2013 . - , VS2013 ?.. . , VS2015 VHD.

- , VS2015, , . , . , 2015 , , 2013, ... .

+4
3

.. Ive , .. , - . VS2013.

C:\Program Files (x86)\Microsoft Visual Studio Emulator Android\1.0

. VS2015, vsemu.vhd vsemu.sdcard.vhd. , "myemu". , , :

"C:\Program Files (x86)\Microsoft Visual Studio Emulator Android\1.0\XDE.exe" /vhd bretts.vhd/video 1080x1920

. .., :

... XDE/?

, , sdcard. . Ill repost, - .

Ok. VS2013 "". .. .

Id - , 2015 , "" .

+1

Visual Studio 2015 CTP5 Cordova, Visual Studio Emulator Android. .

, :

  • Microsoft.VisualStudio.MultiDeviceHybridApps.dll. : "Program Files\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Emulator Android \" ( VS DLL) "Program Files\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\" ( , , DLL ). VS2015 Microsoft.VisualStudio.MultiDeviceHybridApps.dll " Android" ​​ "" ( , "" ). "C:\Users\ \AppData\Local\Microsoft\VisualStudio\14.0\Extensions" .

  • Visual ++ Native-Activity (File > New > Project, Installed\Templates\Visual ++\Cross Platform\Native-Activity Application (Android)) , .

  • CTP5 Visual Studio Android .

, !

0

webkit (Android iOS), Chrome, .

, , vs2015 ctp5!

0

All Articles