安卓:无法启动模拟器 [英] Android : failed to start emulator

查看:154
本文介绍了安卓:无法启动模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法启动我的Andr​​oid模拟器在Eclipse中。我得到击中总是出现以下错误信息

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.

我曾尝试重新安装ADT插件,该SDK甚至蚀。
我使用的Mac OS。

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

推荐答案

@符号表示有有问题的文件的扩展属性。要验证应用到文件的扩展属性是:

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@

您可能会发现(像我一样),有对文件的属性com.apple.quarantine可以与被删除:

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

在哪里sdkFolder与该文件夹的名称替换您提取SDK来。

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

这篇关于安卓:无法启动模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆