Add following code snippet in your build.gradle:
signingConfigs { debug { storeFile file('<full-path-to-keystore>/.android/debug.keystore') storePassword 'android' keyAlias 'androiddebugkey' keyPassword 'android' }
Add More variants for each flavor like release.}