I added the signature keys to a folder keysin the root directory of the project:
.\
keys\
sign.properties
src\
main\
build.gradle
I added the following lines to my build script:
signingConfigs {
release {
Properties p = new Properties()
p.load(new FileInputStream('keys/sign.properties'))
storeFile file(p.file)
storePassword p.password
keyAlias p.alias
keyPassword p.keyPassword
}
}
The gradle build command line can assemble the assembly. However, Android Studio gives me an error that the file was sign.propertiesnot found.
How to point AS to it?
source
share