Show all available devices:

tns device

Run app on the specific device:

tns run android --device <Device ID>

Generate keystore file:

keytool -genkey -v -keystore "d:\project\project_name.keystore" -alias project_name -keyalg RSA -keysize 2048 -validity 10000

Generate apk file for Android:

tns build android --release --key-store-path "d:\project\project_name.keystore" --key-store-password psw321 --key-store-alias project_name --key-store-alias-password psw321


Leave a Reply

Your email address will not be published. Required fields are marked *