Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why would I get "Not a valid keystore file" error

I'm trying to set up an android build in Visual Studio App Center, but when trying to upload our keystore file I get the error "Not a valid keystore file". Could anyone think of a reason this could be happening? I have manually created a new keystore and that one seems to work. I can't use this though because its an existing app and would force users to uninstall and reinstall the app.

enter image description here

like image 584
Craigt Avatar asked May 22 '18 11:05

Craigt


People also ask

What is keystore file in Android?

The Android Keystore system lets you store cryptographic keys in a container to make it more difficult to extract from the device. Once keys are in the keystore, they can be used for cryptographic operations with the key material remaining non-exportable.

Where is the keystore file in Android?

The default location is /Users/<username>/. android/debug. keystore.


1 Answers

Make sure the keystore file you are uploading has a file extension. MS appcenter doesn't like keystore files without an extension.

Name your file with a .keystore extension before uploading it and that should resolve the problem

like image 51
Zayin Krige Avatar answered Oct 18 '22 02:10

Zayin Krige