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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,710 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you