Application for official and DEBUG Versions of GoogleMap Program Key

Source: Internet
Author: User

These two days have been entangled in this issue, because the online version of the debug version is provided, I do not know why after I package the debug version into an APK, the map is also very tangled. You can't finally see the documents on the official website. The original debug version is used for testing. If it is officially released, you need to apply for another official version. I tried to solve this small problem and provided it for your reference. I hope you can avoid detours.

The release of the official version is actually the same as that of the debug version. The official command line is as follows:

 
Keytool-list-alias alias_name-keystore my-release-key.keystore

Let's explain that alias_name is the time when your software is packaged into an APK.

The alias value of the first line. My-release-key.keystore

Is the key file path you are using. Here I am E: \ tools \ test Assistant

In addition, add two parameters-storepass (your first password for this key)-keypass (your second password for this key)

After understanding the above, you can run cmd to enter the command line. What I entered here is:

After the above command line is entered, MD5 will appear

Then copy the MD5 certificate
Click Open Link

You can apply for the above connection address.

When the above interface appears, our beloved ZF has made him harmonious, so we can only register it over the wall. I believe everyone knows this.

After applying, we get the key we need. This is the officially released key, not the test key.

Then you can copy the apikey to the mapview and package it into an APK. Remember to use your key file path when packaging, that is, the-keystore parameter you entered in the command line.

In this way, the package will be officially released. However, during the test, you still need to replace the key of the debug version, because this key only uses the file path you registered.

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.