Problems encountered during Android installation and summary

Source: Internet
Author: User

1. Install JDK 1.6 or later.

View the jidk version, and enter Java-version in the console.

Or find the Java option under the control panel and click it to view it.

2. Install eclipse

We recommend that you use the accepted stable 3.5x

Or the Eclipse IDE for Java EE developer version is strongly recommended.

Otherwise, you may encounter unexpected problems in the future.

3. Install the SDK

Here I am installing installer_r00000.3-windows.exe, and then I need
It takes a long time to download the required tools under manager.

After the installation is complete, configure the PATH variable.

Enter Android-H in the console to check whether the installation is successful.

Note: Sometimes the environment variable configuration fails, you can try to put the path in the first item of path.

4. Install ADT

Install adt-00000.3.zip

Two installation methods are available:

1. Install in eclipse and add the website directly. However, the Google homepage is blocked. Therefore, foreign proxy servers are required, which may be slow.

2. Offline installation. Download it here first, and then be sure to open the network cable and install it offline. Refer to this blog post.

During installation, the error org. Eclipse. CDT. feature. Group 0.0.0 occurs.

Solution: the lack of CDT plug-ins is used to develop C/C ++. It is hard to understand that android is a Linux kernel. Install CDT here

Finally, I encountered some warnings.

5. OK. Now, you only need to set the android SDK home, select android on the left under window-> preferences in eclipse, and configure your own SDK path.

Everything is done, what are you waiting for? Run an instance quickly.

6. Install dependencies during instance creation (dependency installation prompt)

Analysis:

The Android version is updated to 4.0 or later. This situation will occur after the ADT is updated to the corresponding version. The prompt is that the template depends on the android support library and the corresponding version is required.

 

Solution:

First, you should check whether the android support library has been installed in the android SDK manager. If not, download and install it.

Click "check again" in the preceding figure again to proceed to the next step.

 

If it remains unchanged, You need to disable eclipse and end the adb.exe process.
After entering \ extras \ Android, there is no support folder but there is a compatibility folder. Create a support folder and copy the items in compatibility to support.

 

Create a new project.


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.