Android compilation freezes if google-play-services.jar lib is added into my helloworld android project in Eclipse

前端 未结 1 911
独厮守ぢ
独厮守ぢ 2021-01-25 15:02

I\'m trying to find out the core of the google-play-services.jar bug for my android app. The previous links are here and here. I\'ve wasted 2 whole days to fix the problem but n

相关标签:
1条回答
  • 2021-01-25 15:09

    It will freeze, so do this to ur eclipse config file. Increase the Xms and Xmx by doing it manually. U can find this file in Eclipse folder and file is named like this : eclipse.ini

    So the Eclipse config should look like this.

    -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
    256M
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    --launcher.appendVmargs
    -vmargs
    -Dosgi.requiredJavaVersion=1.6
    -Xms256m
    -Xmx1024m
    
    0 讨论(0)
提交回复
热议问题