Run image on AVD - HybridOS/Document GitHub Wiki
[Required] firstly install android-studio
android list avd
Creates a new Android Virtual Device.
android create avd
Run avd
emulator -avd $avdname -system system.img -data userdata.img -ramdisk ramdisk.img
connect to android-x86(adb connect using wifi)
(1)start adbd service
open the terminal and type these commands:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
check your device ip (eg.192.168.1.193)
(2)adb connect using your machine (eg.ubuntu)
type:adb connect 192.168.1.193 (the ip of android-x86)
warning:using the same LAN
If successed,it can show already connected to 192.168.1.193:5555
(3)test if the connection is successful type:adb shell
If you can enter the shell of android-x86,it show you have been conneted to the test machine.