I have the following lines in my "project module" build.gradle
(i.e. in /ProjectName/ProjectName/build.gradle
):
android {
signingConfigs {
release {
keyAlias "mykeyalias"
keyPassword "mykeypassword"
storeFile file("/Users/MyUsername/Documents/AndroidStudio/android_keystore")
storePassword "mykeystorepassword"
}
}
compileSdkVersion 28
buildToolsVersion '28.0.2'
defaultConfig {
applicationId "com.example.mypackagename"
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
signingConfig signingConfigs.release
}
...
Still, when I click Build->Generate signed APK...
, I still have to enter everything manually. This used to work before, not sure when it broke. I have double- and triple checked the path to the keystore file.
Any ideas what could be wrong?