Build issue using APKSigner

0 favourites
  • 7 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Hi,

    I have exported my app as an Android unsigned release (7.0+).

    Then created a release key.

    Then created the aligned apk.

    But when I try to use the apksigner I get;

    'Failed to load signer "signer #1"'

    'Java.io.IOException: invalid keystore format'

    I have deleted and iterated around the whole build a number of times, but still the same issue.

    Anybody have any pointers as to what I could try to resolve?

    Thanks in advance.

  • What kind of file is your release key?

    .jks or .keystore?

    Wich command are you using?

  • Release key is a jks.

    Command being used;

    C:\xxxxx\AppData\Local\Android\sdk\build-tools\27.0.3\apksigner sign --ks release-key.jks --out signed.apk aligned.apk

  • Hi, i'm not an expert but i can tell how i did it. I used android studio for my apk, BUILD SIGNED APK, the program creates a new keystore e with cocoon.io i compiled the apk with the key maybe can help you

  • I am not sure if you have the same problem as I used to have a few months ago but I downloaded the newest version of Java (I believe it was JKD9 at the time) and I wasn't able to sign an APK either.

    I removed JKD9 and downloaded JKD8 and then it worked.

    Hope this helpt

  • Thanks for the replies.

    I will give both ways a go.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A quick update;

    deleting jdk10 and installing jdk8 worked straight away. So thank you Manny.

    I had a go using Android studio but hit a few snags on the way and have not resolved yet. But thank you TheMob000 for the response.

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