Reminder: to develop applications above Android, update all development tools to the latest version.
This weekend, we helped people complete a project. android5.0 and later versions, who knows that the development tool is tossing and dying. My development environment is the latest version of adt-bundle-windows-x86-20140702.zip, which can be found now. It also upgraded to the latest adt and platform, but there are still a bunch of errors in the Development of 5.0 projects:
Error 1: The error AndroidManifest. xml is missing is reported when the system is not moved. To solve this problem, you need to restart eclipse every time, and restart. metadata in the. android and development space!
Error 2: parseSdkContent failed androidjava. lang. ExceptionInInitializerError is reported every time you open an xml file!
The only effective way is to abandon the adt-bundle-windows-x86-20140702 development environment, re-build a set, must use the latest eclipse Is luna version. Here we can only say that google is too bad to push its own studio. The procedure is as follows:
1, install the latest version eclipse: http://www.eclipse.org/downloads/ download Eclipse IDE for Java Developers;
2. Install ADT. For more information, see "installing online. You can download the adt-23.0.6.zip file of the extract line, and then install it.
Http://developer.android.com/tools/sdk/eclipse-adt.htmlthis is the correspondence between ADTs and SDK tools. ADT23.0.6 corresponds to 24.1.2 of SDK Tools.
3. In fact, you can use the above two parts to install the remaining content using the Android SDK Manager. Install the following:
A. SDK Tools
B. Platform Tools
C, Build Tools
D. Select a Platform.
The above can be installed online with the manager. before using the manager, please refer to http://www.androiddevtools.cn/and use the proxy to download the address of the Origin Site of the Chinese Emy of sciences. Other proxies are invalid.
So offline installation, You Can http://www.androiddevtools.cn/download android-sdk_r24.1.2-windows.zip, unzip and then use manager to download other.
After installing sdk tools, you will see the following, excluding the red box:
In addition, the manager can be installed online or downloaded and decompressed offline.
If the platform contains multiple versions, name them one by one:
Build tools:
Ps: build tools are also named in numbers, just like platforms. The api level of android5.0 is 21.
Sources (select source ):