Reputation: 868
Today I just updated the Android SDK on Windows 7 with the Android SDK Manager and started getting error during build in Eclipse which says
"Error executing aapt: Cannot run program ... CreateProcess error=5, Access is denied: CreateProcess error=5, Access is denied"
I'm using Eclipse Juno and Kepler. I've also tried the bundled Eclipse that comes with Android SDK but faced the same issue everywhere.
I'm using Android build tool version 18.0.1-
Upvotes: 4
Views: 15349
Reputation: 25217
It's Windows security that's not allowing that process to run. Here's what I did:
Now your user can execute that program. Yay!
Upvotes: 1
Reputation: 101
Go to your eclipse folder, open eclipse.ini and add the lines
-vm
C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll
Replace jdk1.6.0_29 with the version code of your jdk. These lines should be added above
-vmargs
Upvotes: 4