How to import eclipse project from git to Android Studio? -
this question has answer here:
i have android app codes in eclipse project stored in git server, , want import android studio.
is there way retrieve project git directly android studio? there step-by-step instruction achieve this?
here step step solution it. can use eclipse code directory it.
- open android studio -> import project-> select project directory. (in above case "myapp") remember select directory contains manifest file otherwise new "direct import wizard" doesn't triggered , android studio uses old import wizard.
- android studio create copy of project "myapp_imported" new directory structure.
- copy existing ".git" directory inside "myapp_imported"
- android studio -> vcs -> enable version control make android studio use existing repository imported project. though imported project has different directory structure git handles them pretty well.
- android studio -> changes review files , commit. git automatically handle new directory structure , file history etc not lost.
- now can share on github/bitbucket vcs-> share on github note:- bitbucket have install "following bitbucket plugin" android studio. http://plugins.jetbrains.com/plugin/6207?pr=androidstudio
here more details it: import eclipse android project version control system android studio
Comments
Post a Comment