Add these values to your .gradle:
signingConfigs{
debug{
keyAlias 'your key alias'
keyPassword 'your keypassword'
storeFile file('keystore path')
storePassword 'your storepassword'
}
}
buildTypes {
debug{
signingConfig signingConfigs.debug
}
}
The keystore path in the file will be something like E:/xxx/xxx/xx.keystore.