4

I have installed everything like I was told to by the android website and all I keep getting after I create my avd is:

Failed to start emulator: Cannot run program "/home/hevel/eclipse/android-sdk-linux_86//tools/emulator": java.io.IOException: error=13, Permission denied

Anybody got any ideas? I'm running fedora15_x86_64 if that helps.

Sam Saffron
  • 124,587
  • 78
  • 320
  • 501
hevel
  • 71
  • 1
  • 5

4 Answers4

4

try to run these commands in terminal: Navigate to your android tools folder (for me it's Android-SDK/tools/), then type:

chmod +x emulator
chmod +x ddms
eckes
  • 60,464
  • 27
  • 159
  • 195
Srikanth
  • 164
  • 2
  • 9
  • However doing this my problem got solved now my R.java file is not there it contains BuildConfig.java only instead of R.java and i have tried clean and build but none was working ..... – Vipin Sahu Apr 07 '12 at 21:53
0

go to your directory

/home/hevel/eclipse/android-sdk-linux_86//tools/emulator

to set permissions

chmod +777 emulator
Ahmed Ali
  • 581
  • 5
  • 10
0

I fixed this by adding executable permission to the file"~/sdk/tools"

Open your terminal and

chmod +x system file path ~/tools/emulator
Lokesh Patel
  • 1,064
  • 7
  • 13
0

Make sure you have given the execute permissions for the emulator for the user you are running eclipse as.

Rajdeep Dua
  • 11,082
  • 2
  • 30
  • 22