Supplement the android environment built by ECLIPSE

Source: Internet
Author: User

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.



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.