Debugging for Android x86 + eclipse

Source: Internet
Author: User

Android is very inefficient. I have discussed it in csdn before, but today I tried x86, which is very efficient and easy to develop.

Enter the subject:

Prepare a virtual box

Bytes

1

Create a virtual machine. You can select Ubuntu for Linux.

2.

Select a fixed size for creating a disk.

Not too big, too wasteful

This depends on your disk size and hardware configuration. It takes about 23 minutes.

Click Finish. Then click Start.

Click Next and select the downloaded ISO file to start the VM.

Press the keyboard () and press the tab key at DEBUG = (a space is required here !!!!) Write Data = sda1 sdcard = sda5

Then press Enter.

Disk allocation, divided into two primary partitions, set as bootable,

A logical partition (memory card) and then written to the disk

That's it.

In this case, select sda1 and press enter to install Android x86 for about one minute. Then restart the system.

The system will be mounted to the SD card, select format first, and then mount

, The VM allocates a network connection through a bridge !!!! Not to mention

On x86, press Alt + F1 to enter the terminal and check IP: netcfg.

Alt + F7 return Gui

Then ADB connect IP (Android) waits for a moment to prompt that the connection is successful.

Then you can debug it in eclipse.

The tablet does not have an appropriate ISO, and the 2.2 is very smooth.

Try it. The IP address may change every time. The static IP address is changed in the android network settings.

Cmd adb connect

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.