1. 运行安卓系统, 如下:
$sudo qemu-system-x86_64 -m 4096 -boot d -enable-kvm -smp 3 -net nic -net user,hostfwd=tcp::4444-:5555 -hda <path-to-android-hd-image>
2. 使用adb连接
$ adb kill-server
$ adb connect localhost:4444
2022-07-09 13:40:12
1. 运行安卓系统, 如下:
$sudo qemu-system-x86_64 -m 4096 -boot d -enable-kvm -smp 3 -net nic -net user,hostfwd=tcp::4444-:5555 -hda <path-to-android-hd-image>
2. 使用adb连接
$ adb kill-server
$ adb connect localhost:4444