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
  • 128,308
  • 78
  • 326
  • 506
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
  • 64,417
  • 29
  • 168
  • 201
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
  • 671
  • 7
  • 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,122
  • 8
  • 14
0

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

Rajdeep Dua
  • 11,190
  • 2
  • 32
  • 22