[英]Errors running builder 'Android Pre Compiler' on project 'XXXXXX'
I have three projects in two different Workspace in same computer. 我在同一台计算机的两个不同工作区中有三个项目。
MainProject 主项目
google-paly-servies-library google-paly-servies-library
pdf-view library pdf-视图库
I have used GCM in my main project. 我在主要项目中使用了GCM。 And both libraries projects added in main project as library project.
并且两个库项目都在主项目中添加为库项目。 In one workspace this project working fine.
在一个工作区中,该项目运行良好。 But in second workspace I got following error:
但是在第二个工作区中,出现以下错误:
Errors occurred during the build.
Errors running builder 'Android Pre Compiler' on project 'Project Name'.
java.lang.NullPointerException
Because of this error I got cannot be resolved error in all GCM related code: Eg 由于这个错误,我在所有GCM相关代码中都无法解决错误:例如
import com.google.android.gms.gcm.GcmListenerService;
import com.google.android.gms.iid.InstanceIDListenerService;
I have android sdk tools 25.0.5 (Preview) 我有android sdk工具25.0.5(预览版)
ADT plugin 23.0.6 ADT插件23.0.6
Eclipse Mars 蚀火星
I also got few answers regarding this issue: 关于此问题,我也没有几个答案:
Eclipse / Android : "Errors running builder 'Android Pre Compiler' on project..." Eclipse / Android:“在项目上运行构建器'Android Pre Compiler'时出错...”
Android Pre Compiler error on 21.0.1 android sdk 21.0.1 android sdk上的Android Pre Compiler错误
But not working for me. 但不是为我工作。 Same projects working in different workspace (that in c: drive and I copied these project in second workspace in d: drive where I got this error).
相同的项目在不同的工作空间中工作(在c:驱动器中 ,我将这些项目复制到d:驱动器中出现此错误的第二个工作空间中)。
I can't understand what happens after changing workspace. 我不了解更改工作空间后会发生什么。 Please help me.
请帮我。
Try to "Rebuild project" or restart the eclipse. 尝试“重建项目”或重新启动Eclipse。 Check imports and check other folder instade c:/ .
检查导入并检查其他文件夹instade c:/。 I had the same erros because of the c:/ folder, permissions...
由于c:/文件夹,权限...,我有同样的错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.