Install the Android Virtual Machine and debug the adb on VMware
Detailed installation steps:
Install x86android with VMware
Installation steps:
Install android on VMware(You can configure the horizontal screen)
Note:
After installation, the system may be stuck in wifi,Click here to view the solution
Adb remote android debugging:Click here to view detailed methods
VM command:
$ Su
# Stop adbd
# Setprop service. adb. tcp. port 5555
# Start adbd
Cmd command:
Adb connect <mobile phone IP address (default port is 5555)>
Adb shell
Note:
When cmd inputs adb, an error is returned and an error is displayed:
Click here to view the solution
Adb kill-server
Adb start-server
One more sentence:
After android remains idle for a long time (2 minutes by default), it will be standby, black screen, and the virtual machine cannot be used. It can only be restarted, which is very troublesome. solution:
Setting> display> sleep> never (never time out)