KVM is required to run this AVD. Unknown Error! Please file a bug against Android Studio
Changed permissions in the /home/folder/Android/Sdk/emulator/ folder
chmod 777 -R /home/folder/Android/Sdk/emulator/
Provide Additional command line options to AVD in Android Studio 2.3.3?
Passing the additional while launching avd from bash shell seems to be
working. I am entirely not sure though.
nishon@nishon-Inspiron-5420 ~ $ emulator -avd [Enter AVD name] -qemu -m 2047 -enable-kvm
Before tying this command you need to setup path to ADB in your .bashrc(Ubuntu) or path(Windows)
Reference https://developer.android.com/studio/run/emulator-commandline.html
Running android emulator during jenkins build
I have managed to fix the problem.
- Install Qemu-KVM and cpu-checker:
sudo apt install qemu-kvm cpu-checker
- Check if KVM is available (as
jenkins
user):$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
- Create group kvm and add
jenkins
to this group:addgroup kvm
usermod -a -G kvm jenkins
- Change group ownership for
/dev/kvm
:chgrp kvm /dev/kvm
- Create udev rule:
$ sudo nano /etc/udev/rules.d/60-qemu-kvm.rules
KERNEL=="kvm", GROUP="kvm", MODE="0660"
- Reboot
Related Topics
Error: Ld.So: Object Ld_Preload Cannot Be Preloaded: Ignored
Define Alias That References Other Aliases
Capturing Performance with Pcap VS Raw Socket
In Order to Write Pci Ethernet Driver. How to Implement Mmap in the Pci Ethernet Driver
How to Extract a Single Chunk of Bytes from Within a File
How to Find All the Files That Were Created Today in Unix/Linux
How to Specify Filenames Within a Zip When Creating It on the Command Line from a Pipe
Strange Behaviour of Git: Mysterious Changes Cannot Be Undone
Sort Logfile by Timestamp on Linux Command Line
How to Reinstall the Latest Cmake Version
Identify Other End of a Unix Domain Socket Connection
Linux Perf Reporting Cache Misses for Unexpected Instruction
The Irq in Kernel Function Asm_Do_Irq() Is Different from the One I Request in Module
Find All Storage Devices Attached to a Linux MAChine
Shell: Redirect Stdout to /Dev/Null and Stderr to Stdout