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

7 comments:

  1. wow man, you save my life. I try many times, i couldn't find useful method. This is really useful post and it work. Good tip.

    ReplyDelete
  2. Glad to hear, Thanks a lot !

    ReplyDelete
  3. Thanks Oded

    10 years later and you are still helping people

    ReplyDelete
  4. Anonymous6/3/21 17:30

    thanks from 11 years later...

    ReplyDelete