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

Unexpected parameter(s) after input APK (–pass-encoding)

exit code: 1

What does this mean? I tried solutions from other questions but couldn’t solve it.

I was using an alpha version. I updated Unity and it fixed the issue.