I made some simple updates to an app an old employee made.
I am trying to expo build:android but am getting an “keystore password was incorrect” error and the standalone build failed.
I tried running expo fetch:android:keystore and got the .jks file as well as the alias, keystore password and key password.
I then ran expo build:android -c and chose to input my own credentials using the above information.
I am still getting the “keystore password was incorrect” error. Can someone give any insight?
Can you try running keytool -list -keystore keystore.jks and check whether keystore password works? keytool is part of JDK so it should be available in you PATH
I was not the original created of the app so I am not sure.
The password is similar to ones we use internally so I would imagine the original creator of the app made them? But i am not sure.
I got these credentials from fetch:android:keystore
fetch:android:keystore returns what is on our servers and the same credentials are used during build, so passing them to build command won’t help you. It seams that those credentials were not setup correctly in the first place.
You need to ask original author of this app for correct credentials or generate new ones and ask google support team to reset those credentials in play store(it’s only possible with Google Play App Signing enabled).
I checked your old builds, not counting last two days last build was from 2017-12 and apk was not signed, so it seams that android credentials for this application were never working.
So it was on the play store up until recently (we had to add a privacy policy so we were recently pulled). How would it have been on the play store without being signed?
What do you suggest I do to be able to rebuild and get this update live?
Previous developer might have sign it on it’s own locally after build. If you don’t have contact with that person the only way is to reset credentials in Play console, but it’s only possible if Google Play App Signing was enabled for this app.
It’s not enabled, so there is nothing you can do at this point without correct credentials. Even google support can’t reset it.
There is a chance that keystore is correct so you might try to brute force password.
If OTA updates are enabled it might be enough to publish js without .uploading to store.