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.