Chrome 远程桌面和 android 模拟器

Chrome remote desktop AND android emulator

我远程(chrome 远程)到我的桌面 运行 android 工作室。当我尝试从 android studio 运行 模拟器时,我看到 window 并打开了虚拟设备。但是设备没有开机。这不是我使用桌面直接 运行 android 项目时的行为。这种行为可能是因为远程处理吗?如果是这样我该如何改变它?

我的需求是在远程连接的android工作室工作,如果有办法实现,请指教。

这是 AVD 日志

    C:\Users\xxx\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5_API_21 -netspeed full -netdelay none

emulator: device fd:1228

HAX is working and emulator runs in fast virt mode

creating window 61 83 462 820

logcat

    04-29 12:06:39.077    1966-1966/com.example.xxx.four4 E/libprocessgroup﹕ failed to make and chown /acct/uid_10053: Read-only file system
04-29 12:06:39.077    1966-1966/com.example.xxx.four4 W/Zygote﹕ createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
04-29 12:06:39.078    1966-1966/com.example.xxx.four4 I/art﹕ Not late-enabling -Xcheck:jni (already on)
04-29 12:06:39.183    1966-1986/com.example.xxx.four4 D/OpenGLRenderer﹕ Render dirty regions requested: true
04-29 12:06:39.186    1966-1966/com.example.xxx.four4 D/﹕ HostConnection::get() New Host Connection established 0xa607f4c0, tid 1966
04-29 12:06:39.319    1966-1966/com.example.xxx.four4 D/Atlas﹕ Validating map...
04-29 12:06:40.050    1966-1966/com.example.xxx.four4 I/Choreographer﹕ Skipped 42 frames!  The application may be doing too much work on its main thread.
04-29 12:06:40.184    1966-1986/com.example.xxx.four4 D/﹕ HostConnection::get() New Host Connection established 0xa607fa60, tid 1986
04-29 12:06:40.231    1966-1986/com.example.xxx.four4 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
04-29 12:06:40.469    1966-1986/com.example.xxx.four4 D/OpenGLRenderer﹕ Enabling debug mode 0
04-29 12:06:40.521    1966-1986/com.example.xxx.four4 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
04-29 12:06:40.521    1966-1986/com.example.xxx.four4 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6083580, error=EGL_SUCCESS
04-29 12:07:12.637    1966-1973/com.example.xxx.four4 W/art﹕ Suspending all threads took: 13.570ms

谢谢。

我在使用远程桌面时遇到了同样的问题。我使用另一个远程访问应用程序 TeamViewer (http://teamviewer.com) 解决了这个问题 使用 TeamViewer,您可以 运行 任何 Android 模拟器,例如 x86、x86_64 或 arm。

Android 模拟器没有使用你所有的 cpu 功能,而是一个线程,我的猜测是远程桌面和模拟器共享同一个线程,从而阻止了你的模拟器使用远程桌面时 运行。解决方案是使用更强大的 cpu 或 user2839592 所说的不同的远程桌面。