How do I sign an apk file? r201, r202.

0 favourites
  • 2 posts
From the Asset Store
Source File, music and art pack for Android Negotiator
  • Good day, in versions r201, r202 I can't sign the apk file. The password and key name are correct. Also, remote preview on mobile phones does not work in versions r201 and r202.

    Here is the error message log:

    Error: Failed to load signer "signer #1"

    java.io.IOException: Failed to obtain key with alias "*****" from tmp/********-****-****-***-*******. Wrong password?

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:690)

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCerts(ApkSignerTool.java:555)

    at com.android.apksigner.ApkSignerTool$SignerParams.access$200(ApkSignerTool.java:509)

    at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:215)

    at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)

    Caused by: java.security.UnrecoverableKeyException: Cannot recover key

    at sun.security.provider.KeyProtector.recover(KeyProtector.java:315)

    at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:143)

    at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:57)

    at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96)

    at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:71)

    at java.security.KeyStore.getKey(KeyStore.java:1023)

    at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:663)

    ... 4 more

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please fill out a bug report here:

    github.com/Scirra/Construct-3-bugs

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