在Eclipse ADT束通过自动完成Android开发冻结 [英] Eclipse in adt-bundle for android development freezes by auto complete

查看:210
本文介绍了在Eclipse ADT束通过自动完成Android开发冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要开发Android应用程序下载我从以下位置的ADT-包:dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip
我下载了这个包,因为我已经使用Ubuntu 12.04.3lts被(32位)。

To develop android app I downloaded the adt-bundle from the following location: dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip I downloaded that bundle since I have been using ubuntu 12.04.3lts(32 bit).

我一直在享受同捆定的(几乎2个月)在Eclipse IDE,但突然间我面对它的字面停在我发展的一个严重的错误。问题是月食自动完成(或code建议)只是冻结窗口。但鼠标是好的,它可以让鼠标移动像往常一样,但键盘和其它应用/流程只是冻结。

I have been enjoying the eclipse IDE given with the bundle(for almost 2months) but suddenly I am facing a serious error which literally stopped my development. The problem is eclipse auto complete(or code suggestion) is just freezing the window. But the mouse is ok, it allows to move the mouse as usual but keyboard and other application/process just freezes.

虽然键盘冻结,但如果我preSS按Ctrl + Alt + Fx的键,然后它会打开命令窗口模式。从这个命令窗口中,我可以杀了月食等工序,可以通过pressing按Ctrl + Alt + F7回到了previous窗口。但我不能,虽然选择其他进程。唯一的办法是关机由pressing从命令窗口电源键或自动重启。

Though the keyboard freezes but if I press Ctrl + Alt + Fx keys then it opens command window mode. From this command window I can kill eclipse and other processes and can back to the previous window by pressing Ctrl + Alt + F7. But I can not choose other processes though. The only solution is shutdown by pressing the power key or reboot from that command window.

我已经搜索了近三天这个问题的解决方案,但没有解决我的问题。我发现类似的问题在计算器,但给出的解决方案并没有为我工作。

I've searched for almost three days of solution of this problem but nothing solved my problems. I've found similar problem in stackoverflow but the given solution didn't worked for me.

下面我给给出的解决方案,我遵循了一些链接。

Here I am giving some links of given solution which I followed.

<一个href=\"http://stackoverflow.com/questions/21634846/eclipse-adt-bundle-crashes-suddenly-on-mint-16-petra\">Eclipse ADT捆绑突然死机薄荷上的16佩特拉

Eclipse的继续崩溃

<一个href=\"http://stackoverflow.com/questions/20733572/eclipse-adt-crash-when-autocomplete-popup/22353909#22353909\">Eclipse ADT崩溃时自动完成弹出

另外神秘的事情是这个问题有时会消失。有时候,我可以为2到3个小时的工作,甚至没有汽车的建议很有效的问题。但是,当出现问题时,它只是停止我的那一天的发展。次日月食可2/3小时工作良好,没有任何麻烦。

Another mysterious thing is this problem sometimes gone. Sometimes I can work for 2 or 3 hours without any problem even the auto suggestion works well. But when the problem arise it just stops my that day development. On the next day eclipse may work well for 2/3 hours without any trouble.

下面我要指出,我已经与OpenJdk6,OpenJDK7和甲骨文的Java 7试过了。我也从12.04lts更新我的Ubuntu内核12.04.3lts尝试。并且还通过在eclipse.ini文件改变内存限制尝试。我也通过与来自最新的下载一个新的ADT的束取代了日食尝试。

Here I should mention that I've tried with OpenJdk6, OpenJDK7 and Oracle-java-7. I have also tried by updating my ubuntu kernel from 12.04lts to 12.04.3lts. And also tried by changing memory limit in eclipse.ini file. I've also tried by replacing the eclipse from adt-bundle with a new one from latest download.

唉!实在不行!

在这里,我提我当前的Java版本,Ubuntu的版本的eclipse.ini文件中的配置:

Here I am mentioning my current java version, ubuntu version and eclipse.ini files configuration:

mushfique @ mushfique:〜$ Java的版本
Java版本1.7.0_51
的Java(TM)SE运行时环境(建立1.7.0_51-B13)
Java的热点(TM)服务器VM(24.51建设-B03,混合模式)

mushfique@mushfique:~$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode)

mushfique @ mushfique:〜$的javac -version
javac的1.7.0_51

mushfique@mushfique:~$ javac -version javac 1.7.0_51

mushfique @ mushfique:〜$ lsb_release -a
没有LSB模块可供选择。
经销商ID:Ubuntu的
说明:Ubuntu的LTS 12.04.3
稿:12.04
codeNAME:precise

mushfique@mushfique:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise

我的硬件配置是:
处理器:英特尔®酷睿™i3 CPU中号330 @ 2.13GHz的×4
内存:2.8GB(实际上3GB)
操作系统:32位

My hardware configuration is: Processor: Intel® Core™ i3 CPU M 330 @ 2.13GHz × 4 Memory: 2.8GB(Actually 3GB) Os: 32 bit

我也在这里给我的eclipse.ini文件的完整内容:

I am also giving the complete content of my eclipse.ini file here:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=512m
-Xms256m
-Xmx1024m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/

对不起,我的大问题。

Sorry for my large question.

我会为任何建议表示感谢。

I would be grateful for any suggestion.

感谢

推荐答案

我有同样的问题,我加入这行解决了

I had the same problem, and I solved by adding this line

-Dorg.eclipse.swt.browser.DefaultType=mozilla

要eclipse.ini文件的末尾。
我发现这里的解决方案:
的Eclipse ADT崩溃时自动完成弹出

to the end of the eclipse.ini file. I found the solution here: Eclipse ADT crash when autocomplete popup

这篇关于在Eclipse ADT束通过自动完成Android开发冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆