简体   繁体   中英

Create Android project in my local git repository

I have a git repository cloned from github. Then I go to my local copy of that repository. There are sub-module projects in the repository.

Now, I would like to create a new Android project. So, in Eclipse I did:

File -> New Android Application Project -> (fill project name, etc) Next -> I browse to my git repository , but Eclipse doesn't allow me to create project there, it complains " Folder is not empty ".

But I need my new Android project to be created in the repository. How to get rid of this problem with eclipse?

Make your android project in an empty folder and then copy and paste the contents into the root of the directory where you have a git project.

You'll need to make sure you add everything with git add -A

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM