I recently updated an app to the market, I generated the keystore and the corresponding password. Now I updated the app and intend to update it on the market too, I have pub
I used unity to export the game to android studio. I had the same problem where it said invalid key format. I exported the project from unity once again to a different folder and used android studio to build it and generate a signed bundle. That solved the problem for me
The easiest way to sort this out is to go close your Android Studio then go to your Users Directory and Delete the .android Folder and Launch your Android Studio Again(Make sure you have an Internet connection, so that it can build properly)
(For already existing KeyStore
)
Put your .jks
file in your workspace and then right click on
project > export >Android >Export Android Application >cilck on browser (select your project) >next >click on browser (give path of your .jks
file from workspace where you placed it) >password >alias (select your alias from drop down) >password >finish
Are you positive that you are opening the same keystore as before and using the right password? There may be a possibility that the keystore somehow got corrupted; perhaps you have a backup?