虚拟机emulator报错
emulator: ERROR: x86_64 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
关闭虚拟机服务
PowerShell关闭HV
bcdedit /set hypervisorlaunchtype off
VM开启InterVT-x/EPT
禁用VH主机服务
最后重启即可
到此VM中的Ubuntu就可以正常开机了
Aborted (core dumped)
maqi@ubuntu:~/android-8.1.0_r1$ emulator
emulator: WARNING: system partition size adjusted to match image file (2562 MB > 200 MB)QXcbConnection: Could not connect to display
Aborted (core dumped)
解决:在ubuntu内命令行打开即可
下载运行AS
https://developer.android.com/studio?hl=zh-tw
tar -xvzf android-studio-ide-*.tar.gz
cd android-studio/bin
./studio.sh
下载SDK
代理设置
cmd下 ipconfig
源码导入和排除