I have three projects in two different Workspace in same computer.
MainProject
google-paly-servies-library
pdf-view library
I have used GCM in my main project. 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: E.g
import com.google.android.gms.gcm.GcmListenerService;
import com.google.android.gms.iid.InstanceIDListenerService;
I have android sdk tools 25.0.5 (Preview)
ADT plugin 23.0.6
Eclipse Mars
I also got few answers regarding this issue:
Eclipse / Android : "Errors running builder 'Android Pre Compiler' on project..."
Android Pre Compiler error on 21.0.1 android sdk
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).
I can't understand what happens after changing workspace. Please help me.