Eclipse freezes on android related autocomplete

时间秒杀一切 提交于 2019-12-23 01:13:53

问题


I've got a vanilla Eclipse, installed the ADT and started following some tutorials. Mostly it works fine. It will build the project fine, launch the emulator and run the compiled android app, I can edit the XML, and some portions of the java files, but once the autocomplete box pops up, that's it. Eclipse freezes totally. The CPU usage of eclipse drops to 0% and nothing happens. I've waited a couple of minutes, but with 0% CPU I don't see the point. And even 10 seconds wait that frequently when typing makes it unusable.

I have found references to downloading the source and putting it into platforms/android-X/sources and I've done that, but the problem has not gone away. (Admittedly I've just downloaded the froyo sources and put it in android-8 - I was hoping I wouldn't have to do it for every version of android - I also have directories for 7, 9 and 10 in /platforms/).

I am using Ubuntu Natty (11.04) so I guess it is possible the new window manager (Unity) might be having a problem, but I've searched http://launchpad.net and not found anything there.

I have no other plugins installed apart from ADT (and it's dependencies). The version of Eclipse is Galileo (3.5.2) from the Ubuntu Natty repositories. ADT is version 12.0.0.v201106281929-128431.


回答1:


Eclipse freezes when perform auto-complete is really a bug, and it's fixed in Eclipse 3.6.2. You should upgrade to your Eclipse to latest version.

Cheers.




回答2:


There are a lot of bugs in eclipse, like this. You can't do anything, except upgrade to higher versions, what make other bugs, but they will be fixed later :)



来源:https://stackoverflow.com/questions/6774485/eclipse-freezes-on-android-related-autocomplete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!