• 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/



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

  • 相关阅读:
    php 异步执行脚本
    微信扫描带参数二维码事件
    windows7搭建wnmp环境
    Windows下安装Redis及php的redis拓展教程
    英语翻译(一维map)
    转圈游戏
    蓝桥杯剪邮票
    再谈组合
    关于inf设置为0x3f3f3f3f
    枚举排列组合(dfs)
  • 原文地址:https://www.cnblogs.com/javawebsoa/p/3198806.html
Copyright © 2020-2023  润新知