https://kotlinlang.org logo
#android
Title
# android
s

Sagar Suri

03/31/2020, 4:17 AM
What is the point of generating a separate keystore for a debug build? I found this in a open source project. Doesn’t android studio generates a
debug.keystore
by default for a debug build?
Copy code
signingConfigs {
        debug {
            storeFile file('keystore/debug.jks')
            storePassword 'android'
            keyAlias = 'android'
            keyPassword 'android'
        }
    }
l

Luis

03/31/2020, 6:32 AM
Hi Sagar, a separate keystore for debug builds is super useful if you have continuous integration setup with your project. So the server can run
./gradlew assembleDebug
to assemble the debug version of your app, and it will generate a signed app.
A signed debug build is usually to be distributed to teams for QA
👍 5
s

Sagar Suri

03/31/2020, 6:40 AM
Thanks @Luis
👍 1
2 Views