Buy Me a Coffee

Wednesday, December 22, 2010

Access to the path 'adb.exe' is denied while installing Droid Explorer


While installing Droid Explorer, you get
the following error :

System.UnauthorizedAccessException: Access to the path 'adb.exe' is denied.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
   at DroidExplorer.Bootstrapper.Panels.DownloadPanel.SdkPathCleanup() in s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 251
   at DroidExplorer.Bootstrapper.Panels.DownloadPanel.RunSetup() in s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 181

In order to solve it, open the task manager and kill the adb.exe process and restart the installation.

Thanks
Oded Rabani