- Home /
Question by
Qedized · Oct 30, 2019 at 03:25 AM ·
android buildapkpublishingkeystoresigning
Failed to sign Android package (Unity 2019)
CommandInvokationFailure: Failed to sign Android package D:/Applications/Unity/2019.2.0a9/Editor/Data/PlaybackEngines/AndroidPlayer\SDK\build-tools\28.0.3\apksigner.bat sign -ks D:/keystorepath\keystore.keystore --pass-encoding utf-8 --ks-pass pass:'mypassword' --key-pass pass:'mypassword' --ks-key-alias "myalias" --min-sdk-version 16 --max-sdk-version 28 Temp/StagingArea\Package.apk
stderr[
Unexpected parameter(s) after input APK (--pass-encoding) ]
stdout[
]
exit code: 1
What does this mean? I tried solutions from other questions but couldn't solve it.
Comment
Best Answer
Answer by Qedized · Nov 13, 2019 at 08:57 PM
I was using an alpha version. I updated Unity and it fixed the issue.