The first time Android Market was used

Source: Internet
Author: User

After the program was finally developed last night, it took 25 US dollars to register the Android Market Account and release the first program.

I am very happy to follow the steps:

1. Generate a signature document

2. Sign the APK Program

3. Publish the program to the market

 

Then there was a tragedy. After I updated the program, I was about to release the upgraded version.

"The APK must be signed with at least one certificate in common with the previous version ."

The upgrade program must be signed using the same signature file. Otherwise, the update program cannot be released and the system will cry.

 

Why do you cry? Because I signed the APK and released the program. Then, I thought that the original signature file was not well named and deleted the signature file, and then generated a signature file, if it is overwritten, it will be totally desperate. The original signature file cannot be recovered.

 

I was so anxious that I didn't know the role of the signature file at the time. I didn't expect the problem to be so serious. This directly led to the failure of the 12114whois to continue releasing the upgraded version, what's worse, the file published in the Google market cannot be deleted, and it can only be frozen.

 

Later, I made a query on my website, and many foreign friends made the same mistake as me during my first use. Others also answered the question, "Only that program can be frozen ". In this way, I can only release a new program. Unexpectedly, I encountered another cup problem. The system prompts me "only one program can be released in the same package." My package is MoBi. DZS. android. whois, the system prompts me that this package already exists and cannot be published (my day ).

I went back to the project file, renamed the package name of the program, and changed the package name in androidmanifest. xml.

<Manifest xmlns: Android = "http://schemas.android.com/apk/res/android"
Package = "MoBi. DZS. Android. Whois" Android: versioncode = "9" Android: versionname = "1.0.9">

Package = "MoBi. DZS. Android. Whois" in this XML code is changed to package = "MoBi. DZS. Android. whois12114"

 

Okay, pack the signature and release the new program again. OK is successfully released. I have provided the experience of this cup to my friends who have just developed Android. Be careful when you want to release the program to Google's e-market, after a program is released, it cannot be deleted (do not release useless programs at Will). You must keep the signature file for tens of thousands of times. It is best to copy the signature file to another storage device, otherwise it would be ugly. Haha.

 

(The tragic program version 1.0.8 lost the signature file. It can only change the program to the unpublished State because it cannot be deleted ):

 

Related Article

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.