问题
I am trying to publish an upgrade to my app in Android Market. I am using the same key and alias as before (I have only one key and a single alias). But I get the error "The apk must be signed with the same certificates as the previous version.". This is not the first time I am uploading upgrades. Never had problems before.
The only difference I have this time is I added a new sub-package to the project. My base package is "in.vasanth.android.droidsave". I added a package "in.vasanth.android.droidsave.db". Does adding a package affect the upgrade? Or did I some how mess up my key?
回答1:
Make sure that you are uploading an exported .apk file, not the one that is normally built in the project's bin
directory. Adding a sub-package won't affect anything as long as you haven't changed the package name for the overall application in the manifest file.
来源:https://stackoverflow.com/questions/6105582/android-app-publishing-upgrade-same-key-but-dev-console-disagrees