AVD无法在Mac上启动"许可被拒绝(13)"

时间:2016-08-09 15:05:20

标签: android android-studio android-emulator

只是想让我的Android模拟器启动。但是,我一直收到消息错误:调整分区失败,退出代码1.我已完全卸载Androidstudio并重新安装,但没有任何改变,仍然得到相同的错误。我在AVD设置中也使用了硬件 - GLES 2.0和软件 - GLES 2.0图形设置,但两者都有错误。

我正在使用MacBook专业版。

这是运行错误以及logCat捕获的错误。

ERROR: resizing partition failed with exit code 1

这是使用硬件时的错误 - GLES 2.0

 08-09 14:21:07.461 1184-1184/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
    08-09 14:21:07.652 1184-1184/? E/SurfaceFlinger: hwcomposer module not found
    08-09 14:21:07.675 1184-1184/? E/cutils-trace: Error opening trace file: Permission denied (13)
    08-09 14:21:08.169 1184-1241/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
    08-09 14:21:08.700 1251-1254/? E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
    08-09 14:21:08.755 1251-1254/? E/cutils-trace: Error opening trace file: Permission denied (13)

更改为软件 - GLES 2.0

时出现错误
08-09 16:07:50.886 1184-1184/? E/SurfaceFlinger: hwcomposer module not found
08-09 16:07:50.950 1184-1184/? E/cutils-trace: Error opening trace file: Permission denied (13)
08-09 16:07:51.226 1184-1243/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
08-09 16:07:51.890 1252-1254/? E/cutils-trace: Error opening trace file: Permission denied (13)
01-01 00:00:00.000 0-0/? E/Internal: Connection refused

1 个答案:

答案 0 :(得分:0)

在你的avd设置中你的GPU设置..可能是..检查了USE主机GPU盒?