Android eclipse 插件在类型上滞后(3.6 - Helios)
当我编写这样的代码时:
TextView tv = new TextView(context);
tv. // Here auto-complete window appears, and laaaaag,
// and lag and lag,
//and eclipse status of background working is "Calculating Additional Info"
在我的 Windows7 上的 ResourceMonitor 中,我可以看到 eclipse.exe 正在等待 TCP 输入输出。
有人可以帮助我吗?提前致谢!
Possible Duplicate:
Eclipse Android SDK slow Content Assist performance
When I write a code like so:
TextView tv = new TextView(context);
tv. // Here auto-complete window appears, and laaaaag,
// and lag and lag,
//and eclipse status of background working is "Calculating Additional Info"
On my Windows7 in ResourceMonitor i can see that eclipse.exe is waiting for TCP in-out.
Anybody can help me? Thanls in advance!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Android eclipse 插件在 3.6 中存在已知问题,请获取 3.5(Galileo)。
The Android eclipse plug in has known issues with 3.6, get 3.5(Galileo).
这是一个已知问题,已在即将发布的 Eclipse Helios SR2 版本中修复,并且该补丁已向后移植。如果您想自行修复此问题,请参阅 android-developers 邮件列表上的主题。它涉及将 jar 复制到 Eclipse 的插件文件夹中。
This is a known issue that has been fixed in the upcoming release of Eclipse Helios SR2, and the patch has been back-ported. If you'd like to fix it yourself, see this thread on android-developers mailing list. It involves copying a jar to Eclipse's plugins folder.
如果您不想从 3.6 降级,请尝试此解决方法,它对许多人(包括我)都有效:
http://code.google.com/p/android/issues/detail?id=7850&q =adt&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars#c8
If you'd rather not downgrade from 3.6, try this workaround, it has worked for many (me included):
http://code.google.com/p/android/issues/detail?id=7850&q=adt&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars#c8
“首选项”>“Java”>“编辑器”>“内容辅助”>“高级”,并将标志设置为“输入建议”即可
! Win 7、Helios 版本:3.6.1、Android、Java jre6
Preferences>Java>Editor>Content Assist>Advanced and set the flag to “Type Proposals”
IT WORKS! Win 7, Helios Version: 3.6.1, Android, Java jre6