Android: failed to start emulator

I can not run my Android emulator in eclipse. I get the following error message

"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 tried reinstalling the ADT, sdk and even eclipse plugin. I am using Mac OS.

0
source share
2 answers

The @ symbol indicates that extended attributes exist for files. To check the extended attributes that apply to files, use:

 ls -l@ 

You will probably find (like me) that there is a com.apple.quarantine attribute for files that can be deleted with:

 xattr -dr com.apple.quarantine sdkFolder 

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

+2
source

Make sure you have execute permissions for the emulator

Try

 $chmod 755 emulator 
0
source

All Articles