Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,369
Community Members
 
Community Events
176
Community Groups

Trying to run android emulator in pipeline docker image but hardware acceleration required

Setting up CI environment using pipeline, and want to run our integration tests using android emulator.

Our docker image is this : runmymind/docker-android-sdk:ubuntu-standalone which is a standard ubuntu install populated with android development environment

Have succesfully created android avd inside the docker image we are using, but when try to start the emulator get the following error reported:

emulator: ERROR: x86 emulation currently requires hardware acceleration!Please ensure KVM is properly installed and usable.CPU acceleration status: KVM requires a CPU that supports vmx or svm

My understanding is that I can try to install KVM in my docker ubuntu instance, but i think it is dependent on kvm capabilities being available on the docker host.

Can you please:

1 indicate that it is indeed possible to set up kvm inside my docker container on your platform and

2. give any guidance on how I can set up KVM inside my docker container in order to run an android emulator

 

Thanks

 

Malcolm Cooke

1 answer

Hi Malcom,

actually this is quite easy, since there is a Flag, which can be used to update the CPU settings within VMWARE.

 

Hope it helps.

cpu-virt-flag.png

I think you cannot change the hardware settings on BitBucket Cloud. 

Or can somebody provide a link to this setting?

Hi Ritcher, did you find any solution? Is there any other way to run android emulator without KVM acceleration?

No, but I also did not further investigate since January.

Deleted user Feb 22, 2022

Hi Developers, Currently we are also facing the same issue, did anyone find any solution? Is there any other way to run android emulator without or with KVM acceleration?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events