Published Android apk gives error “Package file was not signed correctly”

后端 未结 8 1898
南笙
南笙 2020-12-01 09:04

I recently uploaded my application to the android market however it\'s refusing to run when downloaded due to the error

Package file was not signed co

相关标签:
8条回答
  • 2020-12-01 09:41

    This error usually occurs because you are trying to push an update which was signed with a different key than you used in the initial submission. You need to find the key you used the first time you published the application and use this to sign the update.

    0 讨论(0)
  • 2020-12-01 09:46

    Recently, I signed my apks from the command line and got this error. I solved this error through the instructions in this link:

    http://developer.android.com/tools/publishing/app-signing.html

    $ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
    
    0 讨论(0)
提交回复
热议问题