Any one doing ui testing? I am trying to run emula...
# android
g
Any one doing ui testing? I am trying to run emulator on jenkins(aws ec2) , it giving me error also can we run x86 emulator on jenkins?
w
Running emulator directly on the machine vs within a container is somewhat different. So you can either provision some Jenkins nodes that run on the bare metal, or you can look into running Android emulator on a virtual machine. For example here: https://github.com/google/android-emulator-container-scripts the docs state
KVM must be available. You can get access to KVM by running on “bare metal”, or on a (virtual) machine that provides nested virtualization.
and later on that in AWS you should use bare metal instance. Here https://github.com/budtmo/docker-android the docs suggest using
--priviledged
flag which I recall is something that should enable nested virtualization
g
I am trying on without metal device. Arm emulator is getting booted but later its get hang. Adb command gives error or timeout
What most of the guys use for CI/CD container or actual machine/aws metal
w
Arm emulator is getting booted
Won’t x86 emulators be faster? Or they wouldn’t work for some reason?
g
Yeah x86 is faster but current container is without kvm support
Even Travis doesn't support kvm