I just started my first android project. Followed all the instructions given by google tutorials. However I'm getting following errors in my project
1) Error executing aapt: Cannot run program "D:\Development\adt-bundle-windows-x86_64-20130729\sdk\build-tools\android-4.3\aapt.exe": CreateProcess error=5, Access is denied: CreateProcess error=5, Access is denied UssEnt line 1 Android ADT Problem
2) R cannot be resolved to a variable
For the first problem I referred below link but it did not work
I tried following solutions for the 2nd problem but none of them worked for me.
1] Getting rid of 'import android.R' line.
2] Cleaning the project and then building it again.
3] Closing project and then opening it again.
4] Going to Project Properties > Java Build Path > Tick Android Version Checkbox
5] Following the procedure: Uncheck Project->Build Automatically Project->Properties->Builders: Make sure all Android (3) and Java (1) builders are checked (and nothing more) Window->Preferences->Android->Build: Check "Automatically refresh Resources and Assets folder on build" Right-click on project->Android Tools->Fix Project Settings (not sure what it actually does, but it can't hurt)
6] Some users advice to check if .xml files are correct. I don't know how I could do that. I haven't even written a single line in my project - the code has been generated automatically.
7] Layout xml file is named using lower-case letters.
8] No error in resource files (no red-crosses).
The above 8 steps I got from 'R cannot be resolved to a variable' - gen folder is empty