ionic publish
Shell
// generate .keystore file
keytool -genkey -v -keystore app.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
// sign the apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore app.keystore app-release-unsigned.apk alias_name
// zip the apk
zipalign -v 4 app-release-unsigned.apk ReleaseSigned.apk$ ionic cordova build --release android
STEP 1
To generate a release build for Android, we can use the following cordova cli command:
$ ionic cordova build --release android
STEP 2
If you already have a signing key, skip these steps and use that one instead.
Let’s generate our private key using the keytool command that comes with the JDK. If this tool isn’t found, refer to the installation guide:
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
STEP 3
To sign the unsigned APK, run the jarsigner tool which is also included in the JDK:
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
Also in Shell:
- Title
- fish unset
- Category
- Shell
- Title
- boolean constants in bash
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- docker run command on container
- Category
- Shell
- Title
- wireless network disconnected ubuntu
- Category
- Shell
- Title
- how to change permissions on a file in linux
- Category
- Shell
- Title
- obs
- Category
- Shell
- Title
- create github repo without browser
- Category
- Shell
- Title
- git create tag and push
- Category
- Shell
- Title
- tree process linux commnad
- Category
- Shell
- Title
- pycharm install face_recognition
- Category
- Shell
- Title
- git config --global credential.helper osxkeychain
- Category
- Shell
- Title
- to see all after commit in local repository in git
- Category
- Shell
- Title
- install sklearn
- Category
- Shell
- Title
- npm install dev dependencies
- Category
- Shell
- Title
- how to commit a branch in git
- Category
- Shell
- Title
- ansible-galaxy install to specific directory
- Category
- Shell
- Title
- list of files in git commit
- Category
- Shell
- Title
- apache .htaccess Option ubuntu
- Category
- Shell
- Title
- git command to create a branch from another branch
- Category
- Shell
- Title
- usr/bin/env: ‘node’: No such file or directory
- Category
- Shell
- Title
- git push set upstream
- Category
- Shell
- Title
- decompress tar.gz
- Category
- Shell
- Title
- install pyenv
- Category
- Shell
- Title
- linux grep
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- install pipenv in ubuntu
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- extract tar.gz ubuntu terminal
- Category
- Shell
- Title
- git remove branch
- Category
- Shell
- Title
- linux extract tgz
- Category
- Shell
- Title
- bash get first argument
- Category
- Shell
- Title
- why all git pull create merge commit
- Category
- Shell
- Title
- linux head command
- Category
- Shell
- Title
- install idle on ubuntu
- Category
- Shell
- Title
- numpy uninstall anaconda
- Category
- Shell
- Title
- install laravel on windows
- Category
- Shell
- Title
- ubuntu install apache2
- Category
- Shell
- Title
- netstat check port
- Category
- Shell
- Title
- set permanant environemt variable
- Category
- Shell
- Title
- ubuntu server does not run scripts
- Category
- Shell
- Title
- create a symlink
- Category
- Shell
- Title
- ubuntu bluetooth not turning on
- Category
- Shell
- Title
- git copy file from another branch
- Category
- Shell
- Title
- unity application cant be opened on mac
- Category
- Shell
- Title
- how to use sass in react without eject
- Category
- Shell
- Title
- how to install specific package version npm
- Category
- Shell
- Title
- clear untracked files git
- Category
- Shell
- Title
- powershell append to file
- Category
- Shell
- Title
- source fish config
- Category
- Shell
- Title
- rejected master -> master (non-fast-forward)
- Category
- Shell
- Title
- chmode ubuntu
- Category
- Shell
- Title
- change git password on terminal
- Category
- Shell
- Title
- sudo apt get install tomcat 9
- Category
- Shell
- Title
- git push existing code to new repository
- Category
- Shell
- Title
- linux make executable
- Category
- Shell
- Title
- install bootstrap angular
- Category
- Shell
- Title
- loop through directories bash
- Category
- Shell
- Title
- change dns resolver linux
- Category
- Shell
- Title
- git pull a new branch froma remote repo
- Category
- Shell
- Title
- dockerfile for NGINX vuejs
- Category
- Shell
- Title
- install node js ubuntu
- Category
- Shell
- Title
- pycharm duplicate line
- Category
- Shell
- Title
- why cant i add some applications to favourite in ubuntu
- Category
- Shell
- Title
- reset branch on local git
- Category
- Shell
- Title
- install vuex
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- install drush on windoes 10
- Category
- Shell
- Title
- get folder size powershell
- Category
- Shell
- Title
- flasky fake
- Category
- Shell
- Title
- ubuntu install composer
- Category
- Shell
- Title
- how to turn off bluetooth in ubuntu 18.04 terminal
- Category
- Shell
- Title
- laravel lumen
- Category
- Shell
- Title
- create github repo with bash
- Category
- Shell
- Title
- search for files in linux terminal
- Category
- Shell
- Title
- macos read ext4
- Category
- Shell
- Title
- linux move file
- Category
- Shell
- Title
- git reset origin
- Category
- Shell
- Title
- update all chocolatey packages
- Category
- Shell
- Title
- pipe + exec duplicate stdout linux
- Category
- Shell
- Title
- how to install wordpress ubuntu 16.04 rosehosting
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- how to install php
- Category
- Shell
- Title
- touch for powershell
- Category
- Shell
- Title
- how to install node modules python
- Category
- Shell
- Title
- set default java version
- Category
- Shell
- Title
- set remote url git
- Category
- Shell
- Title
- git diff show only files
- Category
- Shell
- Title
- create a virtual environment python conda
- Category
- Shell
- Title
- using regex in bash conditional statement
- Category
- Shell
- Title
- 403 apache ubuntu
- Category
- Shell
- Title
- git push to another repository
- Category
- Shell
- Title
- ssh usage copy file
- Category
- Shell
- Title
- bash count lines
- Category
- Shell
- Title
- bash permissions
- Category
- Shell
- Title
- firewall in ubuntu 18.04
- Category
- Shell
- Title
- git list user and email
- Category
- Shell
- Title
- how to uninstall in ubuntu
- Category
- Shell
- Title
- aws ssm agent installed but does not show in managed instances
- Category
- Shell