Shinestars Medias Shinestars Medias - 1 month ago 24
Android Question

Cannot run program Access is denied while attempting to get adb version Error while Android Application Running

I have downloaded Latest Eclipse, and ADT plugin for android development,and
I have installed jdk-7 added all plugins as per the instructions given in android development site.
I am able to create Android project,I have created sample virtual device(Emulator)

But my project is not building correctly R.java class is not creating
It giving this error in console

[2013-03-21 23:40:51 - adb] Unexpected exception 'Cannot run program "H:\eclipse\adt-bundle-windows-x86-20130219\sdk\platform-tools\adb.exe": CreateProcess error=5, Access is denied' while attempting to get adb version from 'H:\eclipse\adt-bundle-windows-x86-20130219\sdk\platform-tools\adb.exe'

I am using Windows 7, search in google and given adb.exe path in environment variable still its not fixed.

I am using Android Developer Tools eclipse ADT plugins installed
Android SDK manager 21.1

Please guide me to fix this problem :)

Answer

If you are installed plugins and all correctly and your not able to build projects that means something is blocking you adb.exe.

Most probably it will be your Antivirus or Firewall. Disable it and check.