I was wondering if it is possible to have Eclipse automatically increment the build version number inside of the Manifest
each time that I either build or run an Android app.
Has anyone ever done something like this?
I was wondering if it is possible to have Eclipse automatically increment the build version number inside of the Manifest
each time that I either build or run an Android app.
Has anyone ever done something like this?
I don't think Eclipse itself can do it, but I would imagine you could write a script that parses the manifest file and updates the number. You could set that up as a pre-build step, so every time Eclipse compiles your code, it changes the number.
My only concern with that would be that you could reach pretty big numbers, depending on how iterative your development process is. Also, this puts you at risk at forgetting to update the version string, and the users will be prompted to upgrade from version 1.0 to version 1.0.