My AndroidStudio project only generates app-release.apk files via the menu "Build > Generate signed APK...". I found out how to change 'app' to match my app's name (here: Why is my APK name generic? ) but I still want some kind of app-release-X.apk (where X is the actual version code of that APK). I read that it is possible to modify the output path here https://stackoverflow.com/a/27678564/3410474 but couldn't find a way to use my version code in there.
If it is also possible to additionally use the version name (like 1.0) that would be even better, but the version code is more important to me.