Slow eclipse Android code assistant Solution

Source: Internet
Author: User

Slow eclipse Android code assistant Solution

 

When programming with eclipse Android, whenever you press "Alt +/" or ". ", it will automatically trigger the code assistant, and at this time it will often encounter eclipse slow response, just like a crash, and cannot continue to enter the code.

This is a bug in eclipse 3.6.1 Helios and earlier versions. It will be fixed in future versions.

For the existing eclipse version, you can solve this problem:

Download the uploaded code patch:

Http://download.csdn.net/source/2999636

Close eclipse and decompress the file with a patch to overwrite the file of the same name under Eclipse/plugins. Then restart eclipse!

At this point, you will find that the android code assistant is fast during programming!

:

 

 

Note:

If your code is a little slow when entering a common Java class, add the SRC Source Code of Java.

Solution:

1. Find the src.zip file in your JDK installation directory;

2. Open Eclipse: Window Menu-> preference-> JAVA-> installed jres;

3. Select the JRE you are using in eclipse in the list, and then edit;

4. Select Rt. jar and click "Source attachment". In the displayed dialog box, select "external file". Then, associate the src.zip file under your JDK installation directory with rt. jar.

 

Related Article

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.