Unable to start debugging in Visual Studio RTM for cordova app

Bart Calixto picture Bart Calixto · Jul 21, 2015 · Viewed 12k times · Source

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 still can't start the application.

Looked everywhere and found no reference to this problems. Others suggest that environment variables are not set or tools not installed. I triple checked and environment variables are fine and tools are indeed installed.

I uninstalled everything (including git) from programs and features and reinstalled vs2015 RTM with no success, same problem.

I also installed extra stuff from android sdk manager, no luck.

No idea what's wrong and the error message visual studio gives no clue.

Enviroment paths error message empty dropdown android sdk manager

Answer

Leo picture Leo · Jul 29, 2015

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.