How to import eclipse project from git to Android Studio? -


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.

  1. 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.
  2. android studio create copy of project "myapp_imported" new directory structure.
  3. copy existing ".git" directory inside "myapp_imported"
  4. 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.
  5. android studio -> changes review files , commit. git automatically handle new directory structure , file history etc not lost.
  6. 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -