android studio模拟器不起作用(无法将属性“ qemu.gles”设置为“ 1”)

我积极尝试了模拟器,但不断收到此错误消息。

11/14 15:48:10: launching 'app' on Nexus 5X API 29.
$ adb shell am start -n "org.techtown.loginactivity/org.techtown.loginactivity.Loginactivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Waiting for process to come online...
Connected to process 25712 on device 'emulator-5554'.
Process 25712 terminated.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/n.loginactivit: The ClassLoaderContext is a special shared library.
W/n.loginactivit: Verification of void org.techtown.loginactivity.Loginactivity.onCreate(android.os.Bundle) took 197.934ms
D/libEGL: Emulator has host GPU support,qemu.gles is set to 1.
W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
W/RenderThread: type=1400 audit(0.0:183): avc: denied { write } for name="property_service" dev="tmpfs" ino=7421 scontext=u:r:untrusted_app:s0:c134,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so

我不知道如何正常运行。

cache03 回答:android studio模拟器不起作用(无法将属性“ qemu.gles”设置为“ 1”)

为我解决:

从模拟器中删除应用程序,然后再次安装解决了我的问题,谢谢。好像Firebase将某些内容缓存到文件系统中并重用了它,我想清除应用程序数据也将解决问题。 – Onregs 19年9月12日在8:47

java.net.SocketException: socket failed: EPERM (Operation not permitted)

本文链接:https://www.f2er.com/3104707.html

大家都在问