I and my friend is working on an android application project. It was created in his computer with build target 19 and 8 as minimum sdk version. This Application has appcompat_v7 support library dependency & its working on his computer fine.
Now when I import that project in my computer, first time eclipse showed errors (cross sign) in java class files(under src folder) as they didn't find R (as R is not generated).
My appcompat_v7 is built with build target 21 ( if I build it with 19 it gives Value-21 error ) which I have added with the project. So I thought may be that's why R is not generating as appcompat_v7 is built with build target 21 and the project is built with build target 19.
So I changed the project.properties of that project and set "target=android-21". And this time those error signs gone from the java class files. But when I build the project its not building.I mean binary / executable / *.apk file isn't generating. What can I do?
I am using eclipse Luna in Ubuntu 14.04. SDK 19 and SDK 21 both are installed in my computer.
Thanks!