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

Android WebView, a study case using remoteworker.id | Part 1

Implement Bottom Bar Navigation in Jetpack Compose

Android — A consideration about Transitioning from Views to Compose

MVVM Architecture in Android(Using Retrofit, LiveData)

From AppCompat to Material Components + Applying Dark theme to Android (Part 1)

Novice Note: Try Huawei HMS MAP Kit and FAIL Miserably

Java interface to Kotlin function callback with android example

Build Your Own Flutter Plugin Using Android Native Kotlin — Part II

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 - Integrate ktlint check with Git CI

The Quickest Way to Create an Android QR Code Scanner

Language Change Programmatically in Kotlin, Grow Your Apps Audience Using Localization…

Create a custom BLE peripheral device using Android mobile