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