• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Backup and Restores in Android Studio

How do I backup several incremental versions of a project in Android Studio, and then restore a selected version?

For example: I backup versions over a few weeks: versions #1, #2, #3 & #4. Then as I want need to restore version #2 as version #3 and version #4 aren’t needed?

Cheers!
 
How do I backup several incremental versions of a project in Android Studio, and then restore a selected version?

For example: I backup versions over a few weeks: versions #1, #2, #3 & #4. Then as I want need to restore version #2 as version #3 and version #4 aren’t needed?

Cheers!

What you want is "git" and "github.com". You store your project on github and use git to manage your projects locally(on pc) and remotely(on github).

Using git and github is quite extensive and can't be covered in a forum post. It takes some time to become well versed using git. I recommend looking up some tutorials for git.

The basic gist of it is that for every version, you can have a branch in your project's repo and checkout your versions as you need. Or you can just have a master branch and revert or make changes to it as you see fit.

Android Studio has git integration. I personally don't use that feature because I manage my projects from a terminal. It's the preferred way of using git/github.

Look up some tutorials. It'll take a little time to get a grasp on things, but it's must have knowledge for a developer.
 
Back
Top Bottom