Cannot run program Access is denied while attempti

2019-06-10 08:50发布

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 :)

标签: android adb
3条回答
爷的心禁止访问
2楼-- · 2019-06-10 09:35

This error can also appear because of Permissions issues. Right-click platform-tools folder in your Android SDK folder and in Security tab make sure "All" can Read and Execute. I've come across this problem sometimes after updating the Android SDK tools in Android Studio.

查看更多
ゆ 、 Hurt°
3楼-- · 2019-06-10 09:50

yeah its due to your firewall or anti-virus...pause them or better uninstall them.

查看更多
Fickle 薄情
4楼-- · 2019-06-10 09:52

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.

查看更多
登录 后发表回答