Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6836927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:24:53+00:00 2026-05-26T23:24:53+00:00

I have been developing my Android App on Linux and Eclipse for a year

  • 0

I have been developing my Android App on Linux and Eclipse for a year now. Decided to switch to windows for a number of reasons. Jumped through all the hoops, and now have my App building and exporting fine in Windows. ADT accepts and uses my developer certificate – store password and key password work fine.

The resulting App installs fine on real devices, and appears to be signed fine, but Android Market will not accept upload of the App update with the following error:

“The apk must be signed with the same certificate as the previous version”

Going back to Linux, I generate the APK and can upload it fine. Obviously the tool chain is generating a different binary. Verified using diff.

I am using the same version of Java on both platforms. I’m exporting using the same keystores and the same passwords. On running jarsigner -verify I get the following:

Windows:

  X.509, O=VoltUp, C=US
  [certificate is valid from 11/17/10 10:28 AM to 10/24/10 11:28 AM]

Linux:

  X.509, O=BatteryStorm Mobile Inc, C=US
  [certificate is valid from 10/25/10 12:04 AM to 10/17/40 12:04 AM]

So obviously O= has changed. How could this be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:24:53+00:00Added an answer on May 26, 2026 at 11:24 pm

    Binary diffs will reveal nothing. Use jarsigner to check the differences in the actual signatures:

    jarsigner -verify -verbose -certs app.apk
    

    Most likely the reason for your problem is that the default digest algorithm for jarsigner has been changed to SHA256 in Java 7, if you specify SHA1 explicitly with -digestalg SHA1 you should get the same signature (or just use Java 6). Android, and the Market, compare the signature as a binary blob, and really don’t care about the actual certificate at this point, that is why it complains. Technically, if it is signed with the same key by the same person (certificate), it should be considered a valid signature. Not letting you change the digest algorithm to a more secure one should be considered a bug.

    BTW, I don’t think ADT officially supports Java 7 yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing a project in eclipse for an android app. An error
I have been developing an Android app and testing with a 1.5 AVD and
App Store We have been developing an app for quite some time now for
Lately I have been thinking about developing some basic android app. Its only due
I have been developing a project app to learn about android, I can upload
I have been developing an Android app. I would like to hide the OK
I have been developing an android app, and i wanted to test it out
I have been developing on Android with Eclipse for a while, and I recently
hi guys i have been developing android app that should match most of the
I have been developing an android app. I had chosen 2.2 as the version.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.