Android Development Environment Configuration complete

Source: Internet
Author: User

Recently, Google developed the open source smartphone operating system Android more interested in, so according to the information on the Internet downloaded eclipse,android SDK3.0, and according to the steps of the instructions to configure the environment.

Install the ADT plug-in select the online installation method after the progress bar has not responded, eclipse hint is being updated, the speed is too slow. Therefore, the resolute offline install ADT, but the prompt "cannot complete the install because one or more required items could does not be found." "The search is known to be an Eclipse version issue. I downloaded the Eclipse Classic version and didn't have some. jar files that I needed to bring my Android development environment. So I downloaded the Eclipse Java-ee version again to get the problem done.

N Step after completing the configuration of the development environment, when I run the simulator is prompted to the following error: Emulator:ERROR:no search paths found in this AVD ' s configuration. Weird,the AVD ' s config.ini file is malformed. Try re-creating it.

The reason is that the AVD device's configuration file does not allow Chinese paths, such as Windows7 system, if your Windows login username is Chinese name "John", when you build a virtual device such as G1, then in C:\Users\ John \.android\avd\ There is a G1.ini file with one line:

Path=c:\users\ John \.android\avd\g1.avd

The Chinese name of the John in the path will cause an error.

The workaround is to manually add a system environment variable value, here we can right-click on the "My Computer" icon, select "Properties" in the pop-up menu, switch to the Advanced tab, click the "Environment variable" button, and create an environment variable in the dialog box that pops up, such as Android_sdk _home (Can not be modified to other), the value is D:\ANDROID_SDK (suppose the SDK we are in D disk root directory named ANDROID_SDK). Next, we restart Eclipse by clicking on the Windows menu and entering Preferneces => Android => Bulid to see the Default debug keystore:d:\android_sdk\. Android\debug.keystore (where. Android\ is automatically created for ADT, previously this could be C:\Documents and Settings\ Chinese \.android\debug.keystore), Of course, by setting the following custom debug KeyStore, you can eliminate the steps to add an environment variable.

After so many steps to finally launch the simulator, you can look at Google for the tablet computer design of the android3.0 system of the true colors. It takes a few minutes for the startup to fully start.

In startup

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.