where is the signed apk build android studio code example
Example 1: how to generate signed apk of android project
android {
...
defaultConfig { ... }
signingConfigs {
release {
storeFile file("my.keystore")
storePassword "password"
keyAlias "MyReleaseKey"
keyPassword "password"
}
}
buildTypes {
release {
...
signingConfig signingConfigs.release
}
}
}
Example 2: android build signed apk command line
:assembleRelease