Unable to start debugging in Visual Studio RTM for cordova app

前端 未结 11 1786
陌清茗
陌清茗 2020-12-03 00:03

I have a project that was working on RC and worked with no problems. Updated to RTM and now I cannot start the application

I also created a new black cordova app and

相关标签:
11条回答
  • 2020-12-03 00:22

    Looks like a library is corrupted from the upgrade. Please give this a try:

    1. Close all VS instances
    2. cd %appdata%\"..\Local\Microsoft\Phone Tools"
    3. rename CoreCon folder to something else
    4. Launch VS again.

    That's it.

    0 讨论(0)
  • 2020-12-03 00:22

    The answer from Leo works for me.

    Here the documentation of my research, if it does not work for any other user.

    Watch the output, to get your specific cause. Increase the build-Verbosity in VS-Options.

    go to Tools -> Options -> Tools for Apache Cordova, click the 'Run Dependency Checker'.

    Check the installed Visual Studio features, this is selected by default:

    Compared to msdn:Install Tools for Cordova

    Add also:

    • Emulator for Windows Phone 8.1
    • Android Native Development Kit (R10E, 32 bits)

    And if you still get no emulator after compiling a blank cordova app:

    I think then you have to install google chrome: msdn "The installer does not install Google Chrome, which is required if you want to run the Apache Ripple simulator for iOS and Android, and it does not install Apple iTunes, which is required for deploying an app to an iOS device connected to your Windows PC."

    Also check your Hyper-V Settings:

    I'm checking out the Tools\Visual Studio Emulator for Android:

    Check the SystemRequirements

    Check this link: Troubleshooting the Visual Studio Emulator for Android

    Or give "reinstalling node.js" a chance. Wait for "Setup Repair" again.

    Hope my documentation here helps someone.

    0 讨论(0)
  • 2020-12-03 00:28

    I had the same issue using Ripple Emulator. I solved the problem by deleting the cache of cordova (VS-Tools-Options-Apache Cordova Tools-Cordova Tools-Delete cache...).

    I've also changed the port from 4400 to dynamic (under Ripple emulator).

    0 讨论(0)
  • 2020-12-03 00:28

    I'm working through a similar issue. It seems in my case that the failure is specific to my Windows user profile. When I created a new local user account, the new user doesn't experience the problem. Removing your Windows user profile is a potential work-around, if you don't mind the hassle.

    0 讨论(0)
  • 2020-12-03 00:32

    I just close all visual studios that are opening (vs 2012, vs2013) and reopen vs2015. Ripple-Nexus, Device, google emulator... appear instead of "start" icon only.

    0 讨论(0)
提交回复
热议问题