Search code examples
android-studioremote-desktopteamviewer

Chrome remote desktop AND android emulator


I remote(chrome remote) to my desktop which runs android studio. When I try to run the emulator from android studio, i see the window with the virtual device open. But the device doesn't power on. This is not the behavior when I use the desktop directly to run the android project. Could this behavior be because of the remoting? If so how do i change it?

My need is to work on android studio on a remote connection, if there is a way to achieve it, kindly advise.

This is the AVD log

    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

Thanks.


Solution

  • I have the same issue using a remote desktop. I solved it using another remote access application TeamViewer (http://teamviewer.com) Using TeamViewer you can run any Android Emulator like x86, x86_64 or arm.