Debugger error “Unable to attach. The System cannot find the file specified” from Ripple and Android emulator
Asked Answered
C

1

6

Debugger error “Unable to attach. The System cannot find the file specified” from the Ripple and Android emulator

I've just installed the Multi-device Hybrid Apps preview for Visual Studio 2013, and I'm getting an error when attempting to debug against Ripple or other emulators

The build process is always completed successfully, but while start debugging the VS show up this error message:

“Unable to attach. The System cannot find the file specified”

VS2013 Multi-device Hybrid Apps Debugging error

There is no useful output provided by Visual Studio 2013, rather the debugger just doesn't attach to the browser Ripple emulator after showing the exception. The exception happens immediately and the debugger never attaches. I've had this error occur since installation, so it shouldn't have anything to do with the project itself. I checked my paths and they appear to be correct as in @Freddy's answer, because the build is always successful.

Casandracasanova answered 17/9, 2014 at 8:12 Comment(5)
Does the app launch to Ripple/emulator though?Gayle
Yes of course, the app launched on both ripple and android emulator correctly, but the VS showed up the same message and the debugging process ended.Casandracasanova
Is Visual Studio installed on non-system drive? We have seen this issue when VS was installed on non-system drive.Trommel
yes, I was installed on D driveCasandracasanova
I have tried the work around of @Ellen answer link, then everything is fineCasandracasanova
T
8

This may happen when Visual Studio is installed on a non-system drive. If that's the case, you can work around it by copying the assembly typescriptSourceMapReader.dll from

<SystemDrive>\Program Files(x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies

to the same location on the drive where Visual Studio is installed.
Relaunching VS after doing this should fix the issue.

Testamentary answered 17/9, 2014 at 20:42 Comment(3)
"Program Files(x86)" is missing a space and should be "Program Files (x86)"Contrasty
@Casandracasanova i have only C drive in my system and i have installed VS2015 with Apache Cordova. The Ripple emulator always gives the above mentioned Error.Baseless
I installed VS 2015 on win server 2012,first I faced some issues (ScriptedSandbox64.exe ) I show https://mcmap.net/q/1578132/-visual-studio-2015-cordova-tools-when-launching-ripple-an-error-quot-scriptedsandbox64-exe-has-stopped-working-quot-appears, then I upgrade to 2012 R2, repair VS installation,update some security options in IE, then follow steps urls: taco.visualstudio.com/en-us/docs/… taco.visualstudio.com/en-us/docs/… taco.visualstudio.com/en-us/docs/… check dependency : VS IDE >> tools >> options >> tools for apache cordova >> cordova tools >> run dependency checkerCasandracasanova

© 2022 - 2024 — McMap. All rights reserved.