简体   繁体   English

日食ADT减速和错误

[英]eclipse ADT slowdown and error

after updating my ADT to the latest version, i am having frequent slowdowns and crashes.. 将ADT更新到最新版本后,我经常出现减速和崩溃的情况。

lately this error happens more frequently than not. 最近这种错误发生的频率比不高。 i had to force quit it resulting to unsaved activities.. 我不得不强行退出它导致未保存的活动..

错误

i have already close all projects/libraries that isn't in use, its still slowing down even if there is only one project that is opened. 我已经关闭了所有未使用的项目/库,即使只打开了一个项目,它仍然会放慢速度。

should i reinstall eclipse? 我应该重新安装eclipse吗? what would happen to all of my projects and libraries? 我的所有项目和图书馆会发生什么? this is my first eclipse and this is the first time that this happened to me... 这是我的第一次日食,这是我第一次发生这种情况......

Change Target SDK in your manifest to 18 for the time being to avoid the crashes. 将清单中的目标SDK更改为18,以避免崩溃。 Issue is with android-19. 问题在于android-19。 Wait for another update before switching back. 在切换回之前等待另一次更新。

  1. Remove all errors and warnings from your layouts. 从布局中删除所有错误和警告。
  2. Make sure you are running the eclipse in admin mode (windows users) 确保在管理模式下运行eclipse(windows用户)
  3. Go to your eclipse folder location -> open eclipse.ini file then change. 转到your eclipse folder location -> open eclipse.ini file然后更改。

    -Dosgi.requiredJavaVersion=1.6 -Xms256m-Xmx512m -Dosgi.requiredJavaVersion = 1.6 -Xms256m-Xmx512m

to

-Dosgi.requiredJavaVersion=1.6-Xms512m-Xmx1024m

this may help you a little bit. 这可能对你有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM