📌  相关文章
📜  gradlew signingreport (1)

📅  最后修改于: 2023-12-03 15:31:03.720000             🧑  作者: Mango

gradlew signingreport

The gradlew signingreport command is used in Android development to generate a report of the signing information for all variants of the application being developed. This command can be useful in ensuring that all variants are signed with the correct keys and certificates.

Usage

To use the gradlew signingreport command, navigate to the root directory of your Android project in your command prompt or terminal and run the following command:

./gradlew signingreport

This will generate a report of the signing information for all variants of your application in your project. You can view this report in your terminal or command prompt.

Output

The output of the gradlew signingreport command will generate a report that includes the following information for each variant:

  • Variant name
  • Signing configuration name
  • Certificate fingerprint
  • Certificate issuer
  • Certificate subject

Here is an example of what the output might look like:

Variant: debug
Config: debug
Keystore name: debug.keystore
Keystore password: android
Key alias: androiddebugkey
Key password: android
CN: CN=Android Debug, O=Android, C=US
SHA1: 11:22:33:...:44:55:66:...
MD5: 12:34:AB:...:CD:EF:56:...
Conclusion

In conclusion, the gradlew signingreport command provides a quick and easy way to generate a report of the signing information for all variants in your Android application development project. This command is useful in ensuring that all variants are signed with the correct keys and certificates.