I'm trying to build a signed release apk using the Nativescript CLI. I'm following the documents located here, but unfortunately I'm having some problems. I have generated a keystore and key following the method mentioned in the linked docs but get an issue when I attempt to run the below command using the keystore data I entered.
tns build android --release --key-store-path `~/Documents/Developer/keystore/linkup-release-key.keystore --key-store-password <my_password> --key-store-alias linkup_release_key --key-store
-alias-password <my_password>
When I run this I get <my_password>: event not found
when trying to create and sign my release APK from the CLI? Any ideas what would cause this? My keystore password contains special characters, could that cause any issues?
The problem for me ended up being that my password contained a special character. Rather than trying to properly escape the special characters in the password, I went ahead and created a new one that didn't contain any and I was able to successfully sign, build and upload my project.