If AVD is started, AVD cannot be found.
Error message:
No active compatible AVD's or devices found. relaunch this configuration after connecting a device o
Check which version of your project is running (Android: targetsdkversion attribute in androidmanifest. XML). Does AVD exceed this version? If yes, it cannot be started. You can create a new AVD that meets the project. Right-click your project -- properties -- Android -- Project Build target and check whether the AVD you selected has exceeded the version of your project, if this parameter is exceeded, it is changed to the version suitable for your project.
-----------------------------------------------------------------------------
After AVD is started, there is no virtual keyboard on the UI. There are many solutions on the Internet, as shown below:
1. Open AVD manager, click the AVD to be started, click the details attribute to find the path, open it on the computer, and find the corresponding config. HW in ini modification. DPAD = No is HW. DPAD = Yes (it seems useless for Versions later than 4.0 ~~)
2. simply do not use a virtual keyboard. Use a computer keyboard to control it.
This section describes the key-value correspondence:
Android AVD |
Computer keyboard |
Home |
Home |
Back key |
ESC |
Menu key |
F2 or page up |
Volume +- |
+- |
-----------------------------------------------------------------------------
Sometimes you can connect to a real mobile phone for debugging, and sometimes the log information is constantly printed in logcat, probably because the USB debugging you enable can be assisted by development in mobile phone settings to disable USB debugging.
Logcat does not print information: devices double-click the device or virtual machine whose information you want to display
Run AVD configuration to configure and run mobile devices and virtual machines at the same time, or for a virtual machine. Right-click Project -- run as -- run deployments -- target to select the running mode you need ~
.
Active devices and AVD's use the enabled device's mobile phone and its virtual machine to run your project simultaneously
Active AVD's running your project with an enabled Virtual Machine
Active devices use an enabled device to run your project
Alternatively, you can select the following AVD ~~ for a specific simulator to run ~~