Apple Computer obtains the released SHA1 and developed SHA1 and androidsha1 versions of Android Studio.

Source: Internet
Author: User

Apple Computer obtains the released SHA1 and developed SHA1 and androidsha1 versions of Android Studio.

Recently, I started to switch to Android, preparing to bring my apps on Apple to Android. One of the problems I encountered was the best weather (iOS and mini apps already exist, that's worse than Android.) For the Baidu positioning function referenced, you need to enter the release version SHA1 and development version SHA1. As an android beginner, you can say that your face is awesome, it is a waste of time to watch teaching videos, and there are not too many videos to teach Android Studio on the Apple Computer. There may be no videos or searches.

It is actually very simple.

 

1. The SHA1 of the development version is very easy to get, because after a project is built, it is the development environment, so it is very simple.

Open ITerm and find the main directory (default), cd. android/re-enter keytool-list-v-keystore debug. if you press enter in the keystore, you do not need to enter the password. If you lose the password, you will lose it. I just lost the password countless times before I found that the original number does not need to enter the password... If you lose the password, it will display a wrong password, which is why I wrote this blog. It seems that I am not particularly interested in many blogs. Remember not to lose the password, if you lose, you lose. Copy and paste the file.

 

 

2. Release Version SHA1

 

This is a little complicated. The release version of SHA1, as its name implies, is the release version of SHA1. But how can the product be launched when applying ??? The development is not over. How can we get it ???? In fact, it is very easy to directly pack and pack according to the release process. Although the function has not been completed, it is okay, that is, an empty project is packaged,

1. Build-> Generate Signed APK

 

2. Next

 

3. Create new

 

 

4. Select a path to save it. The path and file name will be used later. After entering the information, click OK.

 

 

5. Continue to Next. You can copy this path because it will be used later.

 

 

 

6. Select release and V2, and click Finish.

 

 

 

7. After the package is successful, open the ITerm, enter the keytool-list-v-keystore path, and then enter the password.

 

 

 

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.