How to get SHA1 codes and signatures in Android studio

Source: Internet
Author: User
Tags sha1
In the use of Baidu map in order to obtain key, you need to enter the release version SHA1 code and debug version SHA1 code. First, according to the official command to obtain the debug version of SHA1 code: Development mode using Debug.keystore, command: keytool-list-v-keystore debug.keystore directly such input you may error Keytool is not an internal command and is not a running program . This is because Keytool is a command of the Java JDK's own tool, and you are switching to the D:\Program Files\java\jdk1.7.0_67\bin directory to use this command. Change to command: keytool-list-v-keystore c:\users\Administrator\.android\debug.keystore Problem Solving

The KeyStore password is empty by default.

In this case you will get the SHA1 code in debug mode.

To get the SHA1 code in release mode, first you have to have your own keystore, you can easily create your own KeyStore steps via Android Studio: Click Build--Generate singed apk to generate your own K by step Eystore, then follow the command: Keytool-list-v-keystore E:\keystore\app.jks can get the SHA1 code in release mode.

How to get SHA1 codes and signatures 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.