I've copied an Android Studio project, renamed it and replaced all textual occurences of the old app name. Yet when running the signingReport
task, it gives me the same SHA-256 values as the original Android Studio project.
Shouldn't the SHA-256 depend on the app itself? How to get a unique one for my copied Android Studio project?
signingReport tasks yields same SHA-256 on copied Android Studio project
39 views Asked by me.at.coding At
1
That is a misunderstanding, gradle signingreport does not show the app digest but the signing certificate digest that belongs to the signing key you have used to sign the app.
Example report from Android documentation:
You can see that all three digest values belong to the
AndroidDebugKey
hece the signing certificate (and thus also to the signing key that belongs to the certificate). The whole report is about it, it shows the key store file where the key/certificate is stored in, the name of the alias inside the key store, the fingerprints of the certificate and it's validity.If you use the default debug or release key which is stored in your
.android
folder in your home directory it is not unexpected that two app projects end up with the same digest values in their signingreports.