Linux android studio の kvm 設定


いつも忘れてあたふたする

If you are running the emulator from Android Studio, run your Android application with an x86-based AVD and include the KVM options:
In Android Studio, click your Android module folder and then select Run > Edit Configurations...
In the left panel of the Run/Debug Configurations dialog, select your Android run configuration or create a new configuration.
Under the Target Device options, select the x86-based AVD you created previously.
In the Emulator tab, in the Additional command line options field, enter:
-qemu -m 512 -enable-kvm
Run your Android project using this run configuration.
Important: When using the -qemu command line option, make sure it is the last parameter in your command. All subsequent options are interpreted as qemu-specific parameters.