Can I somehow get details from android key alias? like validity, organisation and so on

别等时光非礼了梦想. 提交于 2019-12-24 08:13:32

问题


Can I somehow get details from android key alias? like validity, organisation and so on... I lost my key and keystore files, but I remember all passwords, is there any way how can I get this information from existing apk file?

All I need to do is just export new version of my application and I want it to replace previous after installation.

THX


回答1:


Sorry, there is no way to replace a lost keystore. Once it is lost you cannot get it back, do your best to find it, but failing this the best you can do is publish a new app(with a new keystore), and tell your users to install the new app for updates.

Make sure you backup your new key store, send it to yourself via email, put it in a cloud, and put it on a different computer so that doesn't happen again.

Even if you knew the details that you put in your old keystore you could not recreate it - keystores are designed to be impossible to recreate.

Just in case you want another source:

  • https://groups.google.com/forum/?fromgroups=#!topic/android-developers/tcmT2uHOmGY


来源:https://stackoverflow.com/questions/13366644/can-i-somehow-get-details-from-android-key-alias-like-validity-organisation-an

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