What about AVD?

Source: Internet
Author: User

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 ~~









Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.