Migrate Android Eclipse project into Android studio
- Open Studio file->import new project
- Check all checkBoxes which will update the project with latest library’s submit finish button.
If your project as external library projects It will add the External library projects as module.
- if library project are not added as module
- Go to library project and create build.gradle file
- Go to studio and import module, select modified file
- Now update the module gradle file.
Import Existing Eclipse Remote Application into Android Studio
- Checkout existing project into local machine.
=> svn co “remote path”
- Delete ANT build related files (like .classpath,.project files)
- Start studio and import project from local directory (Check VSC enabled or not, if not enable it).
- Project is imported as Android studio project.
- Now add manually necessary library project as module which it has previously.
- Run the app.
- Commit changes through terminal =>svn commit
- Enable VCS for current project =>VCS =>Enable VCS
- Commit Through IDE
VCS=>Subversion=>Commit file/Commit Directory
Few SVN Commands
- svn checkout/co “repository path”
- svn add “file/folder”
- svn delete “file/folder”
- svn status
- svn update/up
- svn commit/ci
- svn diff
In Ubuntu install SVN by using this command in terminal
“sudo apt-get install subversion”
In Windows use Tortoise Subversion
Add new Project to SVN
In Studio
- Enable VCS
- Select Share Project To Subversion in VCS dialog
- Add the repository in Dialog box
- Commit
Through Command line
- svn mkdir "Parent repositoryPath"+"/new project folder"
- Go to parent folder of your project cd /
- svn co "path of repository"(includes project folder which created)
- svn add "project folder"(until commit your project it won't show in repository)
=> by using svn st command we can check the files what we have to add.
- svn commit
No comments:
Post a Comment