Problem signing APK

0 favourites
  • 7 posts
  • Hello, please help, I have problems signing the APK, when I sign my project, an error window appears, and I don’t know what to do, I tried several times and again the error.

    Thanks in advance for your reply.

  • What is the error?

  • Hello, the problem arises after creating a new keystore, when I specify the keystore, key name, key store password, key password and click "next", a process occurs in the lower left corner, after which an error appears:

    Error: Failed to load signer "signer #1" Failed to obtain key with alias "keygame" from tmp/e75e1690-3678-4248-9f5d-f8eb4c736795. Wrong password?






    Caused by: Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.






    ... 4 more

    Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

    at com.sun.crypto.provider.CipherCore.unpad(

    at com.sun.crypto.provider.CipherCore.fillOutputBuffer(

    at com.sun.crypto.provider.CipherCore.doFinal(

    at com.sun.crypto.provider.PKCS12PBECipherCore.implDoFinal(

    at com.sun.crypto.provider.PKCS12PBECipherCore$PBEWithSHA1AndDESede.engineDoFinal(

    at javax.crypto.Cipher.doFinal(


    ... 8 more

  • Are you sure you got the alias and password right? The error is saying those might be wrong.

  • Yes, I tried several times.

    used a password with 8 characters.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I also tried countless times, but now I got it right and I'll tell you how. I put it to build the application in version 6.0+ (Marshmallow), I put Alias ​​(nickname) as the name of the keystore, and the same passwords for both fields. I realized that the flaw is in the Android version of the application. Try to do it the way I described. Cheers!

  • Yes, same password in the two fields, that works for me.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)