How do I manage versions of an Android project on Github and use intellij and eclipse IDE by different team members?

We have an Android project that is shared on github. Our problem is I am using eclipse and my team member is using intellij. She doesn't want to switch to eclipse and I don't want to use intellij. I was wondering if there is any chance of a conflict between us? She created a project in intellij and shared it on github. After importing from github (only after normal procedure as an eclipse project) this issue occurs in eclipse. This is what she sees in her IDE. As you can see inside the gen folder:

enter image description here

And this is what I see in my eclipse: Eclipse suggestion for solving the problem by import:

import android.R;

      

Or creates the R.java class. I appreciate if anyone can help me with this.

enter image description here

+3


source to share


1 answer


I think the simple solution is to use gitignore, so you have to put all ides and other config files / folder in gitignore so that only the independent ide files will be pushed and linked to your repository - I suppose this won't cause any problems as you 'd overwrite only the original files and all your ide config and settings files remain unchanged. All you need to do is Clean-> Rebuild project to ensure consistency.



From facebook

0


source







All Articles