Paras Arora
Paras Arora

Reputation: 1211

Forget keystore password of my application Android Studio

I have lost all the passwords of my application both keystore password, key alias and key password. How can I recover it? I have .jks file.

I have formatted my system so there are no logs available of Android Studio.

Upvotes: 0

Views: 302

Answers (3)

Vicky Salunkhe
Vicky Salunkhe

Reputation: 10985

TRY THIS IT HELPED ME RECOVER MY PASSWORD

Search for folder .gradle

under it go to latest folder in my case it is 4.6

go to taskHistory folder

under it open taskHistory.bin file

search for Password keyword in that file

and you will eventually find your stored password for that keystore file.

refer the screenshots.

enter image description here

enter image description here

Upvotes: 0

Gastón Saillén
Gastón Saillén

Reputation: 13129

if your app is already in the store it won't let you upload the new apk since it will be signed differently, and you won't be able to update it. If your app is not in the store yet, you can create a new keystore and push your app to the store. It's always better to email yourself the keystore key to save it before uploading your apk to the store.

Upvotes: 1

Vikasdeep Singh
Vikasdeep Singh

Reputation: 21766

Unfortunately you can not recover that now from .jks file. You need to create new keystore password

Upvotes: 1

Related Questions