Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / How to set the version name of the APK from source code?

Author
Message
Dale Schultz
2
Years of Service
User Offline
Joined: 1st Nov 2021
Location: Maine, USA
Posted: 20th Mar 2022 02:27
I maintain a version number variable within my app, is there a special name or function that would make it use that for the APK version name?

This would allow me to maintain one version string and not get them out of synch.

Something like SetAppVersion()

or a compiler directive, such as:

#AppVersion "0.8"

Dale Schultz
2
Years of Service
User Offline
Joined: 1st Nov 2021
Location: Maine, USA
Posted: 7th Sep 2022 17:02

Login to post a reply

Server time is: 2024-04-26 15:49:57
Your offset time is: 2024-04-26 15:49:57