Adt-bundle-window-x86 creates a simulator and runs properly

Source: Internet
Author: User
Tags prototype definition

Create an SDK 15 flat simulator, 1024x768, 9.7 ", and LCD density 160.

Condition: You have downloaded the ADT-bundle and the corresponding SDK.

1. Define a device prototype:

Run eclipse, choose Window-android Virtual Device Manager, and select the device definitions page,

In the list, select a device with a close size and resolution, for example, 10.1 "wxga (tablet). Click the clone button and modify it as follows:

Click Clone device to complete device prototype definition.

2. Create a simulator:

On the device definitions page, select the device prototype you just created and click Create AVD. The settings are as follows:

3. Modify the config. ini corresponding to AVD to avoid system UI crash during simulator running:

Find the directory where AVD is located (which can be seen in AVD details), and modify HW. mainkeys in config. ini to yes, that is

HW. mainkeys = Yes

If this parameter is not modified, the following exception occurs:

Java. Lang. runtimeexception: tablet device cannot show navigation bar and system bar

4. Start the simulator just created. If Google input crashes after it is started, modify the default input method instead of Google's modification method.

The first startup will basically crash. Just shut down and restart.

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.