Auto-Incerement your builds
One irritating thing about Google Play Console is that it will show you need to increment the versionCode AFTER you have uploaded and it has processed your build. I’m currently working with very large .aab and APK sizes for testing - and it takes quite a while to process the build. It’s extremely frustrating to see that you forgot to increment your build version after making and uploading the build.
So I found this straightforward solution on Stack Overflow that auto-increments your build version on Android with each compilation - and it works like a charm
If you’re using Kotlin for Gradle - you can use my gist here.
And that’s it - each time you rebuild the app, it will auto-increment the build number, and you will no longer run into these dumb “please use other version code” errors.