Automate your Android build code

  • Increasing number (1, 2, 3)
  • Use the semantic version in it (1.0.0 => 100)
  • Use a random/increasing number from your Continuous Integration
  • Use a timestamp
./gradlew assembleRelease -Pandroid.injected.version.code=32 -Pandroid.injected.version.name="1.0.0"

--

--

--

React Native + Android | 🏄‍♂️ kitesurfer | 🌊 ocean addict | 💗 open source | 🌍 climate

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Beta of Realme UI 3.0 and Android 12 for Realme X3 SuperZoom available

Beta of Realme UI 3.0 and Android 12 for Realme X3 SuperZoom available

Nine circles of hell to migrate a Kotlin Multiplatform project to the koin-annotations

MVVM Architecture in Android(Using Retrofit, LiveData)

Get In-App reviews in Android

How to reduce Gradle build time of the Android app?

Universal — Full Multi-Purpose Android App

Hacking Android Application: Secret Diary

Effective control of textview in android

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elias

Elias

React Native + Android | 🏄‍♂️ kitesurfer | 🌊 ocean addict | 💗 open source | 🌍 climate

More from Medium

Android Stack Weekly — Issue #5

The 2022 Android Developer Roadmap: Part 2

The Basics of Android Unit Testing

5 Ways of Creating Android LiveData