How can deploy signed APK when click Run in Android Studio?
Usually I do it from command line, installing via "adb install -r file.apk" (-r to preserve app's data)
Also it can be done via Gradle and project settings, see answers here: Android Studio - Run signed apk on emulator
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
.