My Android Library Project was working fine until I made a git repository of it.
Now references to the ALP in other projects Properties->Android->Library show up with a red cross in front. Remove, Apply and then Add again provides a green check, but the resources are not found and on returning to the Properties->Android dialog the red cross is there again.
Is it possible to use an Android Library Project from git. If yes, how?
Asked
Active
Viewed 70 times
0

redocoder
- 201
- 2
- 9
1 Answers
0
Usually, to create a git repository in the "less intrusive way" you simply enter the directory of your project (using a shell if you are on unix or the git shell if you are on windows) and type:
git init
after this you have a git repository. This doesn't influence in any way the way eclipse access your project so everything should work as before.
After that, if you want eclipse to "see" you git repository you just have to right click on your project and select the Team|Share Project option and add the git repository that you just created.

vratojr
- 818
- 2
- 8
- 25
In the Configure Git Repository dialog a new repository was created under the git directory (I have no git, just egit) – redocoder Aug 12 '14 at 09:02