0

I am unable to start my android emulator in eclipse . I get hit with the following error message always

"Failed to start emulator: Cannot run program "/Users/anandmadhusoodanan/Desktop/Assignments/Spring-2012/Embedded_Systems_Programming/android-sdk-macosx//tools/emulator": error=1, Operation not permitted" where
 "/Users/anandmadhusoodanan/Desktop/Assignments/Spring-2012/Embedded_Systems_Programming/android-sdk-macosx" is the path of my sdk.

I have tried re-installing the ADT plug-in, the sdk and even eclipse. I am using Mac OS.

Lucifer
  • 29,392
  • 25
  • 90
  • 143
hektor
  • 1,017
  • 3
  • 14
  • 28

2 Answers2

2

The @ symbol indicates that there are extended attributes for the files in question. To verify the extended attributes applied to the files use:

ls -l@

You'll probably find (as I did) that there is a com.apple.quarantine attribute on the files which can be removed with:

xattr -dr com.apple.quarantine sdkFolder

Where sdkFolder should be replaced with the name of the folder you extracted the SDK to.

0

Check that you have execute permissions on the emulator

Try

$chmod 755 emulator
Rajdeep Dua
  • 11,190
  • 2
  • 32
  • 22