Fix Xamarin Android Issue – “Access to the path ‘adb.exe’ is denied.

I have seen this issue occur now and again with a Xamarin Android installation on Windows. It seems to occur after a Visual Studio update which also updates the Xamarin Android installation. Often, the SDK installation gets corrupted, and when trying to repair it, this error is raised.

Usually, it’s possible to fix the issue with one of two methods. The first method, is to find the running adb.exe process in the Task Manager and end the task.

If that doesn’t work, find the SDK Manager .exe file (C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Xamarin\AndroidSdkManager) and manually run that as an Administrator.

It’s a good idea to also close Visual Studio while doing the above, and then reopen it afterwards again.

Leave a comment

Your email address will not be published.