Start My Android journey-record problems encountered in building the Android environment, ----- android

Source: Internet
Author: User

Start My Android journey-record problems encountered in building the Android environment, ----- android

In this era of mobile phones, mobile APP development is also a huge market, so I also want to explore mobile APP development, the first step in Android development is to set up the environment. I will not talk about how to set up the environment. Here we will record some problems encountered during the environment building process, to help children with the same problem.

1. Click the Android simulator and an error message is displayed: Location of the Android SDK has not been setup in the preferences.

Solution:

Open System Properties> environment variables> select "new" under the GroupBox of "system variables"> variable name: "ANDROID_SDK_HOME" (note that the variable name cannot be changed, only this name can be used !), Then

Change the variable value to the value of AVD ". android "folder location, for example:" F: \ AndroidEmulator ", here I put it in the Android SDK package with the value:" D: \ SDK \ Android \ android-sdk-windows-1.5_r3 ", as shown in. You can also change it to another path.

2. The three icons cannot appear when ADT and SDK are installed.

Solution: window ---- Customize perspective; if there is no prompt here, it will be OK; if there is no hook here, follow this and check it here, check the Tool Bar Visibility

3. android sdk manager updates the android sdk and reports an error every time a VM is opened. The error message is as follows:
[10:14:35-Android SDK] Error when loading the SDK:

Error: Error parsing D: \ android-sdks \ system-images \ android-22 \ android-wear \ armeabi-v7a \ devices. xml

Error: Error parsing D: \ android-sdks \ system-images \ android-22 \ android-wear \ x86 \ devices. xml

Solution:

Enter the sdk directory, D: \ android-sdks \ system-images \ android-22 \ android-wear \ armeabi-v7a \ devices. xml and D: \ android-sdks \ system-images \ android-22 \ android-wear \ x86 \ devices. delete the xml file, and delete the devices under D: \ android-sdks \ tools \ lib \ In the sdk. copy xml to the folder you deleted and restart eclipse.

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.