Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2017 Unable to start debugging. Could not load file or assembly

Working with xamarin forms, I have recently updated my android version from 7.1 to 8.1 (even though I don't understand why this might have messed up anything) but I can't run the app anymore in debug mode (it compiles and runs perfectly in release).

Here is the error that I am getting:

Unable to start debugging. Could not load file or assembly 'libadb, Version=14.0.0.0, Culture=neutral, PublicKeyToken=___' or one of its dependencies. The system cannot find the file specified.

Any idea why this might be happening? I have tried looking for online solutions but couldn't find any that fits my problem. Any help would be greatly appreciated!

like image 537
KeykoYume Avatar asked Sep 03 '25 09:09

KeykoYume


1 Answers

In my case, after also upgrading from 7.1 to 8.1 my settings were changed, apparently. So the fix was easy. Go to the android project, make sure your debugger is set to Xamarin, not C++ in debug mode. I am not sure why it was changed.

enter image description here

Hope it helps.

like image 154
Ernesto Avatar answered Sep 04 '25 22:09

Ernesto