Android Studio get developer SHA1 values and release SHA1 values, detailed procedures

Source: Internet
Author: User
Tags sha1

Go from original Android studio to get the most detailed method for developing the SHA1 value and release SHA1 value of the version

Objective:

Today I want to integrate the positioning of Baidu map into the project, want to write a small case, to achieve, but in the integration of Baidu map first to apply for the secret key, the application of the secret key to use the SHA1 value, so today to summarize how to get this value it, I hope that everyone has help.


Under normal circumstances:

First, get the development version of SHA1:

In this I directly use the command console provided by Android Studio, after all do Android development is almost all with Android studio.

1. Open Android Studio to find terminal and open it, or find terminal at the bottom like:


2, enter the command c: Enter the C disk;

3, then enter the command CD Users\administrator which Administrator is their own user name Administrator file has a. adnroid file, enter the command CD. Android, finally found. Android Oid


4. Enter command keytool-list-v-keystore Debug.keystore where Debug.keystore is studio default KeyStore, press Enter and enter secret key: Android (System default) carriage return (keystore password is not visible) such as:


This will successfully get to the development version of the SHA1 value, is not very simple ah, that is of course!


Second, get the release version of the SHA1:

Get the release version of the SHA1, and get the development version of the SHA1 1, 2, 3 steps, the difference is the 4th step slightly different.

1, ibid.

2, ibid.

3, ibid.

4, enter the command keytool-list-v-keystore file directory \ own signature file such as my: Keytool-list-v-keystore e:\ signed file \android.keystore, then press ENTER, and then enter the secret key: (I Only Know me, haha) enter (keystore password is not visible) such as:



This will successfully get to the release version of the SHA1 value, is not very simple ah, that is of course!

Android Studio get developer SHA1 values and release SHA1 values, detailed procedures

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.