zoukankan      html  css  js  c++  java
  • Eclipse相关集锦第二季

    Eclipse相关的问题第二季开始了,这些问题都是我平时遇到的,然后记录下来备忘,帮助到别人最好不过了。


    1.Unable to execute dex: GC overhead limit exceeded

    换机器,新安装Eclipse运行Android程序出现Unable to execute dex: GC overhead limit exceeded,并且较频繁地卡住。实际上是Eclipse设定的内存过小了,大家可以找到eclipse.ini(一般为安装路径下)

    我这里的是这样设置的,根据自己机器的配置调高即可。

    -startup
    plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    512m
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms512m
    -Xmx1024m
    -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

    设置后Eclipse没有出现过卡住的情况。


    2.Terminal in Eclipse

    Linux Eclipse开发利器,在Eclipse使用命令行,这个比Eclipse自带的那个run要好。插件是由Googler 开发。

    地址:https://code.google.com/p/elt/


    3.Eclipse cannot load SWT libraries

    32bit System plz try this

    ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/


    64bit System plz try this

    ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/



    好声音继续,好文章不停。

  • 相关阅读:
    积分图像
    [悟] 因上努力,果上随缘(转)
    不要走的太匆忙( 转)
    一个程序员如何快速赚到一百万?(转)
    vi文字处理器
    Linux常用命令
    Hadoop之MapReduce
    Hadoop全分布模式操作
    Hadoop之HDFS
    Hadoop生态系统
  • 原文地址:https://www.cnblogs.com/javawebsoa/p/3198806.html
Copyright © 2011-2022 走看看