【问题标题】:Unable to execute dex: GC overhead limit exceeded, Google Play Services. Freeze when launching无法执行 dex:超出 GC 开销限制,Google Play 服务。启动时冻结
【发布时间】:2015-02-16 16:17:44
【问题描述】:

我尝试在我的应用程序中实现 Google Play 服务后遇到了这个问题。

我认为我没有为 eclipse 提供足够的“权力”,所以我更改了我的 eclipse.ini 文件。但是,即使我增加了值,它也无济于事。

我的eclipse.ini:

-startup

../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

--launcher.library

../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20140116-2212

-product

org.eclipse.epp.package.standard.product

--launcher.defaultAction

openFile

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

4096m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.6

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

-Xms4096m

-Xmx8192m

-Xdock:icon=../Resources/Eclipse.icns

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

我尝试重新安装我的 sdk,更改了我的 BuildPath,甚至重新安装了 Eclipse,但没有任何帮助。当我尝试运行我的项目时,Eclipse 冻结。

请帮忙!

【问题讨论】:

    标签: java android eclipse macos google-play-services


    【解决方案1】:

    问题终于解决了 我的 Mac osx 计算机在两个地方安装了 Eclipse,一个在应用程序中(我可以在其中保存 .ini),另一个在我没有接触过的下载中。

    ...osx,这花了几个小时。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-08-17
      • 2012-03-17
      • 2014-05-25
      • 2011-05-21
      • 2016-08-12
      • 1970-01-01
      • 2017-12-27
      相关资源
      最近更新 更多