Android 如果 google-play-services.jar 库被添加到我在 Eclipse 中的 helloworld android 项目中,编译会冻结
Android compilation freezes if google-play-services.jar lib is added into my helloworld android project in Eclipse
我正在尝试为我的 android 应用找出 google-play-services.jar 错误的核心。
之前的链接是 and 。我已经浪费了整整 2 天的时间来解决这个问题,但没有结果。甚至我已经尝试在两台不同的机器上重新安装 Eclipse,Android SDK,并在两台不同的设备上进行测试。但没有结果。最后一个实验给了我难以置信的错误:如果我只是将 google-play-lib.jar 添加到我的项目中,Eclipse 不会为默认的 hello-world 项目构建(不会创建 apk 文件)。没有更多的代码。 Google API 已启用。我正在使用最新的 eclipse 版本 SDK - 屏幕截图上的最新更新(24.1.2、22.0.1 等)。
截图说明了问题。几分钟后我的日食崩溃了!为什么???太棒了!美丽!
错误文本:
refreshing external folders blocked the user operation is waiting for background work to complete org.eclipse.jdt.croe.external.folders/.link0
它会冻结,所以对你的 eclipse 配置文件执行此操作。手动增加 Xms 和 Xmx。你可以在 Eclipse 文件夹中找到这个文件,文件命名如下:eclipse.ini
因此 Eclipse 配置应该如下所示。
-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
我正在尝试为我的 android 应用找出 google-play-services.jar 错误的核心。
之前的链接是
截图说明了问题。几分钟后我的日食崩溃了!为什么???太棒了!美丽!
错误文本:
refreshing external folders blocked the user operation is waiting for background work to complete org.eclipse.jdt.croe.external.folders/.link0
它会冻结,所以对你的 eclipse 配置文件执行此操作。手动增加 Xms 和 Xmx。你可以在 Eclipse 文件夹中找到这个文件,文件命名如下:eclipse.ini
因此 Eclipse 配置应该如下所示。
-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