I am trying to automate the process of building and downloading a signed APK for Android without using Android Studio, so I run everything in the terminal. First command:
./gradlew assembleRelease
Which generates an unsigned, non-primary APK in the / APP NAME / build / output / apk folder. However, since APP NAME will not be the same for each application, I can’t just hard-fix the location of the output file in the next step of signing it. Are there any arguments that I can use with the gradlew command to specify the output directory and file name of my choice?
source
share