Get SHA1 in Android studio

Source: Internet
Author: User
Tags certificate fingerprint sha1
Using Keytool. config environment variables

Because the Keytool tool is used, and Keytool is a tool in the JDK, the directory where Jdk/bin is located is first added to the path of the environment variable

Look where my keytool is.

Add the path E:\Program files\android others\jdk\bin to the PATH variable:

Second, find another file Debug.keystore

This file is in the directory where you put the project, if it is the default, in the C:\Documents and settings\administrator\.android directory

Third, run the command

1. Use the CD command to switch the working directory to the C:\Documents and settings\administrator\.android directory

2, Input: Keytool-list-keystore debug.keystore

3, enter the KeyStore password: If not set, this is empty, the direct return to go in.

Reprint Address: http://blog.csdn.net/kezhongke/article/details/42678077

High-Gold Map development Application key need to provide SHA1 certificate fingerprint data, the eclipse is easy to find, but Android studio has not been found, only use the method seen on the Internet, on Android Terminal in studio was obtained using Keytool, as shown (enter KeyStore password-The default password for the test is: Android, if you use the keystore you provided, it is your own password):

Get SHA1 in Android studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.