Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To obtain a SHA1 code in Android Studio 4.2, follow these steps:

  1. Open your Android Studio project.
  2. Click on the "Gradle" tab on the right-hand side of the screen.
  3. From there, expand your project -> Tasks -> android.
  4. Double click on "signingReport" and wait for the Gradle Console to finish running the task.
  5. Once the task is complete, navigate to the Gradle Console and locate the "SHA1" value next to the "Variant" of your app (usually "debug" or "release").
  6. Copy the SHA1 code and use it as needed.