Reputation: 169
Not sure if my question makes any sense but still.. Lets say I created and released app for android. I use android:versionCode and android:versionName in the manifest to track version of the app. Now, i want to update my app by releasing new version (but keep an old version as well ). How should i do that in eclipse? should i copy my project, paste it with new name and make all changes in there? or is there more elegant way to manage versions of the same app in eclipse?
Thanks for your patience.
Upvotes: 0
Views: 64
Reputation: 3257
You can get close to what you want by keeping different branches in your version control system (git, svn, etc...) and use merges to keep all the branches updated.
Upvotes: 0
Reputation: 39836
what is the reason u want to keep the old version?
Is it purely for a version control perspective? If yes, use git (http://git-scm.com/) to do version control.
If you're gonna have a different version of the app (e.g. free and paid), unfortunately Eclipse have no way of handling that and you'll need a copy, but if you're willing migrate to Android Studio, it does have the concept of flavors
Upvotes: 2
Reputation: 1304
One common way is to set a Settings file held in a server that keeps your application settings plus your version code. This way you can force the user to do stuff like force update, or completely close your application.
Upvotes: 0
Reputation: 1078
you will need a new bundle identifier, so yes, you have to create a new project.
Upvotes: 1