Android Studio: cannot recover key

后端 未结 14 1346
闹比i
闹比i 2020-11-28 22:52

I have searched StackOverflow for a while, but I just wanted to make sure...

I wiped my laptop a while ago, and backed up all my files. I have my android.jks file ba

相关标签:
14条回答
  • 2020-11-28 23:17

    I simply removed the .iml file from my project. Then remodeled the project and it worked once more.

    0 讨论(0)
  • 2020-11-28 23:19

    I had a stroke of good fortune to check in Android Studio the Project Structure/Signing tab, and found the key password and store password listed in plain text. I thought they were the same as each other, but they weren't.

    0 讨论(0)
  • 2020-11-28 23:19

    I have zipped my signature file before when I first created it. When I got this error, I used it again. You can use it if you have a backup. I think we've broken things before they notice.

    0 讨论(0)
  • 2020-11-28 23:21

    I tried all given suggestions in answers and comments :(

    My key password and keystore password are exactly the same. Using android studio 3.4

    What worked for me was force quit Android Studio, start again, clean and rebuild project and then generate signed apk. all configs exactly the same but it worked this time

    0 讨论(0)
  • 2020-11-28 23:24

    My passwords were same and still got this error. Clean, rebuild and restarting Android studio did not work for me. The only solution worked for me was moving the keystore.jks file to a new location. Hope this helps.

    0 讨论(0)
  • 2020-11-28 23:24

    I just removed the signingConfigs section from my app gradle file. Then rebuilt the project and it worked again.

    0 讨论(0)
提交回复
热议问题