Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make android:versionName in AndroidManifest.xml changed automatically in eclipse?

I want to change android:versionName each time when I release apk.

Are there any eclipse plugin or some other ways that can help it automatically change along with my code's compilation?

For example, today is 10/09/2011, I want the value android:versionName in AndroidManifest.xml be set to 1.0.0.1009

like image 647
jiangyan.lily Avatar asked Nov 13 '22 16:11

jiangyan.lily


1 Answers

Not using eclipse sorry (but with Ant yes , see this) , i know it can be boring to do that . But you don't release everyminute , no?

MODIFIED

Ant way , the use of Ant properties

Tomorrow i'll try to find more doc about if you need it

like image 140
A.Quiroga Avatar answered May 16 '23 08:05

A.Quiroga