so i'm building project using libgdx , have had trouble past few days trying fix issue. have followed many other posts same question had no success.
essentially link android project google-play-services-lib
, try debug, have project hover @ 99% completion on debug , receive following error:
unable execute dex: gc overhead limit exceeded gc overhead limit exceeded
this error received even after have increased memory in eclipse.ini. understand have keep increasing until works , have set -xms4600m , -xmx4600m , still experience issue. figured thats bit overkill (i have 6gb of ram) have lowered now. there has sort of different solution. below current eclipse.ini settings. missing something? have tried updating latest google play service no success. stumped on do...
my eclipse.ini:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.java.product --launcher.defaultaction openfile --launcher.xxmaxpermsize 1536m -showsplash org.eclipse.platform --launcher.xxmaxpermsize 1536m --launcher.defaultaction openfile --launcher.appendvmargs -vmargs -dosgi.requiredjavaversion=1.6 -xms2028m -xmx4072m
i sincerely appreciate can get. in advance.
you may have activate multidex
, perhaps using play services exceeds limited number of class dalvik "dex
". this:
https://developer.android.com/tools/building/multidex.html
somewhere read comment person fix similar mistake, more or less said:
i had copy of google play services
lib inside workspace , imported there after delete folder place out of workspace , imported again copy projects workspace
checked worked perfectly.
i not know if solved, problem maybe you, if not, tell me , delete response.
Comments
Post a Comment