[SOLUTION] Impossible APK Sign in Android - Password Wrong (keytool error: java.io.IOException)

RubiWorksRubiWorks Member Posts: 130
Hello again

I´m finishing my game to Android. And have a big problem
I installed JSK, Android SDK in Mac and Windows.
I maked the keystore with the shell of mac and gamesalad in Windows 7n with Apk Signer


And alltimes says me that password is wrong.
I´m desperate!!

image

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    This happened awhile ago to someone, make sure yor keyboard is set to English.
  • RubiWorksRubiWorks Member Posts: 130
    Do i need to recreate the password in english? Because i write the password with my keyboard in english and nothing ¬¬
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Yes you will likely have to remake your keystore with the keyboard set to English.
  • RubiWorksRubiWorks Member Posts: 130
    Nothing i put my Windows and my Mac in English and nothing u_u
  • pinkio75pinkio75 Member, PRO Posts: 1,221
    edited March 2013
    Change your language in english to make the keystore and when sign you app you sistem language must be english.
    I locked my sistem in english to fix this.
  • RubiWorksRubiWorks Member Posts: 130
    Change your language in english to make the keystore and when sign you app you sistem language must be english.
    I locked my sistem in english to fix this.
    I do it that and nothing.

  • RubiWorksRubiWorks Member Posts: 130
    When i write in the shell of mac appear that

    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
    java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
    at java.security.KeyStore.load(KeyStore.java:1214)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:885)
    at sun.security.tools.KeyTool.run(KeyTool.java:340)
    at sun.security.tools.KeyTool.main(KeyTool.java:333)
    Caused by: java.security.UnrecoverableKeyException: Password verification failed
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    set your system to english and then create a new keystone from scratch
  • RubiWorksRubiWorks Member Posts: 130
    edited March 2013
    i say several times that i have mac and windows in english!!

    image

    image

    And i tried with digisigner, terminal in windows and mac, and apk signer of GS Windows.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Try turning off us international. Put it to us.
    You have not yet said if you started from scratch.
  • RubiWorksRubiWorks Member Posts: 130
    edited March 2013
    Whats is scratch dear @jonmulcahy
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Whats is scratch dear @jonmulcahy
    create a brand new one using the terminal command AFTER changing your keyboard to US, not US International


  • RubiWorksRubiWorks Member Posts: 130
    edited March 2013
    Whats is scratch dear @jonmulcahy
    create a brand new one using the terminal command AFTER changing your keyboard to US, not US International


    I FOUND THE SOLUTION!!!


    Select in mac the language U.S. EXTEND ONLY!! U.S. or U.S. International does not works.

    image


    in shell write "keytool -genkey -v -keystore nameofyourkey.keystore"
    But rewrite all because the "-" are two versions.


    And when you write the first password the shell will you ask about your:

    name
    company
    city
    country
    ...

    in the second time when it asked about the password i preffer to press enter and use the same password.

    In GameSalad when you signing your apk. Put your language in U.S. EXTEND ONLY!!
    in the second text box if it say you that alias password is wrong delete all text an rewrite your first password or maybe put in blank the password.

    I hope you to be helpful ;)
    Regards and thank you so much everybody! :D

Sign In or Register to comment.