How to Sign android app with private_key.pepk

為{幸葍}努か 提交于 2021-01-04 07:53:07

问题


I have an app in Google Play now I need to publish new version 2 of this app.

how can I Sign android app with private_key.pepk ?

I lost Java keystore (.jks or .keystore) I only have private_key.pepk


回答1:


Refer here, this may solve the problem.

https://stackoverflow.com/a/47613539/6543693




回答2:


The file private_key.pepk is your private key encrypted with a key that only Google can decrypt. It is used only for transferring the key to Google when you enroll in Play Signing.

So you can't extract the private key from this file, but you can enroll in App Signing by Play by providing this file to Google and they'll be able to sign your app on your behalf. You will need to set a different upload key as well (you'll be prompted at the end of the enrollment) so you can sign the APKs or App Bundles you upload to Play with a new keystore you will have created.



来源:https://stackoverflow.com/questions/62953415/how-to-sign-android-app-with-private-key-pepk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!