Current location - Quotes Website - Personality signature - How does android studio compile and publish?
How does android studio compile and publish?
1. Put the signature file in the root directory of the project (this is to keep the path uniform).

2. Introduce the following code in Gradle:

//Configure keystore signature

Signature configuration {

Publish {

StoreFile file ("TimeHutKeyStore")

Store password "joyful888"

KeyAlias "time cabin team"

Keywords "Happy 888"

}

}

Build type {

Debugging {

Signature Configuration Signature Configuration. Version

}

Publish {

Signature Configuration Signature Configuration. Version

}

}

The debug version compiled in this way directly uses the official signature. great