Link to home
Start Free TrialLog in
Avatar of Todd Bedell
Todd Bedell

asked on

Android emulator with Horizon View

We are having some problems using the Android Studio emulator in a virtual machine. When connecting to the virtual machine with Windows RDP protocol, we are able to launch the Android emulator without issue; when connecting with PCoIP or Blast protocol or to the virtual machine console, we get a strange error code from the emulator. We would like to get this functioning with the Blast protocol rather than having to use RDP.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

It will not work with BLAST or PCoIP because of the method the Android Studio Emulator is coded, to use video buffers.

Technically also Android Studio is not supported in a Nested virtual machine.

You could use the Visual Studio Emulator ?
SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Was this the 3D Rendering in the Pool Settings ?

Are you using Hardware GPU ?

What AVD are you using - Nexus 5X API 28 ?
Avatar of Todd Bedell
Todd Bedell

ASKER

No relevant settings on pool side or hardware GPU but in parent VM CPU virtualization is enabled and also 3D graphics. We are using Nexus 4 API 28 emulator.
Confirmed my suspicions- as - Also have you tried changing the Emulator graphics settings!

and this will not work with all AS AVD emulators, as specified. Because there is no option to change from Automatic.

This was the issue.

Andy
User generated image
This is the issue set to Automatic or Hardware does not work with BLAST or PCoIP UNLESS you have a hardware GPU.

You'll get an error message about video buffer, like the OP, unless you use RDP, but if you use RDP it turns off animations.

Some AVD, especially the ones including API and Google Play, do not allow you to change the Emulated Graphics option it is always set to Automatic.

So you would have to select a different Emulator.

User generated image
The above AVD (emulator) has support for Software and Hardware, when enabling software would work for PCoIP and BLAST without a GPU.

But if you want to use Nexus 5X API 28, if you want to use PCoIP and BLAST no choice but to use hardware GPU in server.

I think that

https://www.experts-exchange.com/questions/29109566/Android-emulator-with-Horizon-View.html?anchorAnswerId=42632216#a42632216

"Also have you tried changing the Emulator graphics settings ?"

Addresses the OP, and the Solution to your issue, unless you want to use a different AVD!