Hi If you don‘t want to go for hard code all of this stuff , then go for below easy steps
->Your project
->Your Module
->Right click on your module
->go to open module settings
->Go to Signing section
->Specify all the attribute here and browse your Custom debug key in Store File
Then you will find below code which will be auto-create by android studio in build.gradle
signingConfigs {
debug {
storeFile file(‘custom_debug_keystore‘)
keyAlias ‘androiddebugkey‘
keyPassword ‘android‘
storePassword ‘android‘
}
}
Note:
1) Please do not use .keystore in the code manually you go for manual configuration
2) Please specify correct Alias and password
时间: 2024-10-03 13:46:44