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.