Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: java.io.IOException: Wrong Version of key store

Tags:

android

This error occurs when I try to log into my app with a lower version of android. All phones/Emulators that have android 4.3 and up are able to log in without error where as phones and tablets with version 4.1.1 give the error below. We think it is because of the lower version of android and are looking for any solution.

java.io.IOException: Wrong Version of key store
at com.android.org.bouncycastle.jce.provider.JDKKeyStore.engineLoad(JDKKeyStore.java:812)
at java.security.KeyStore.load(KeyStore.java:589)

I have currently tried to lower my version of bouncy castle to 146 like in this link

"Wrong version of key store" error. How can I create a version=1 keystore certificate?

I have been stuck on this problem for a day now so any help will be greatly appreciated.

Regards,

Ryan

like image 683
RyanCW Avatar asked Jan 16 '14 17:01

RyanCW


1 Answers

I had the same issue but problem solved using the KeyStore Explorer. Create a new KeyStore and select "BKS-V1" type. Then you can import or re-create new keypairs and certificates.

like image 50
Omer Arshad Avatar answered Sep 29 '22 07:09

Omer Arshad