- Home /
Unable to list keys in the keystore
I have with key store. I used earlier that key with same pasword frome same location. But now i have problem . How I can fix this problem?
Unable to list keys in the keystore. Please make sure the location and password of the keystore is correct. See the Console for more details. Error: Unable to read 'D:\PROJEKTI\New Unity Project\PisanjeSlova.keystore' Error: Keystore was tampered with, or password was incorrect
UnityEditor.Android.CommandInvokationFailure: Unable to list keys in the keystore. Please make sure the location and password of the keystore is correct. See the Console for more details. C:/Program Files (x86)/Java/jdk1.7.0_79\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Users/deus/AppData/Local/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity 5.4.0b17\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[ Error: Unable to read 'D:\PROJEKTI\New Unity Project\PisanjeSlova.keystore' Error: Keystore was tampered with, or password was incorrect ] stdout[
] at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 UnityEditor.DockArea:OnGUI()
Is there a question here? The error says your keystore file is bad, and you need to re-generate it. Have you tried that?
You might just be using the wrong password... you selected your created alias (in a dropdown selection of android specific settings) and entered the passwords in the fields?
I've converted this answer to a comment. You have to hit the "Add comment" button unless your answering your own question :P
Answer by chuanqi · Apr 28, 2017 at 05:53 AM
i have the same question.I changed the javajdk location from C:\Program Files\Java\jdk1.7.0_79 to D:\programs\Java\jdk1.7.0_79. then the question is resolved
Your answer
![](https://koobas.hobune.stream/wayback/20220612080648im_/https://answers.unity.com/themes/thub/images/avi.jpg)