Because at work, sometimes I really need to write some simple applications to prove the problem, so I began to learn how to write the application. Eclipse directly went to the website for 3.8, and then went directly. /eclipse.
URL:
Http://download.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/
During the construction process, we met:
1: Unfortunately, system UI has stopped
This modification ~ /. Android/AVD/xxx. AVD/config. ini, change HW. mainkeys = No to HW. mainkeys = yes.
Change HW. DPAD = No to HW. DPAD = yes so that the upper and lower buttons can be used.
The following is an example:
AVD. ini. Encoding = ISO-8859-1
HW. DPAD = Yes
HW. LCD. density = 160
Sdcard. size = 512 m
HW. CPU. Arch = arm
HW. device. Hash =-1537072293
Disk. datapartition. size = 200 m
Skin. Path = 1024x600
Skin. Dynamic = Yes
HW. CPU. Model = cortex-a8
HW. keyboard = Yes
HW. ramsize = 1024
HW. device. Manufacturer = generic
HW. sdcard = Yes
HW. mainkeys = Yes
HW. Accelerometer = Yes
Skin. Name = 1024x600
Abi. type = armeabi-v7a
HW. trackball = No
HW. device. Name = 7in wsvga (tablet)
HW. Battery = Yes
HW. sensors. Proximity = Yes
Image. sysdir.1 = system-images/Android-15/armeabi-v7a/
HW. sensors. Orientation = Yes
HW. audioinput = Yes
HW. Camera. Front = none
HW. GPS = Yes
VM. heapsize = 64
2:
/Proc/sys/dev/hpet/max-user-freq my 64
However, when starting a VM, the echo value is 1024.
This
echo 1024 > /proc/sys/dev/hpet/max-user-freq
Can be written in
/Etc/rc. Local
This saves you the trouble of setting virtual machines every time you run them.