muzhiren
全部博文(1)
开发环境(1)
2015年(1)
章鱼小丸
分类: Android平台
2015-08-09 17:56:20
原文地址:install Android Studio 1.3 —— VM Acceleration on Linux 作者:ztguang
Linux-based systems support virtual machine acceleration through the KVM software package. Follow emulator -avd <avd_name> -qemu -m 512 -enable-kvm Note: You must provide an x86-based AVD configuration name, otherwise VM acceleration will not be enabled. 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.
Note: You must provide an x86-based AVD configuration name, otherwise VM acceleration will not be enabled.
-qemu -m 512 -enable-kvm
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.
-qemu
上一篇:没有了
下一篇:没有了
登录 注册