• Overview
  • Transcript

2.4 Building and Signing the App

In this lesson, I’ll show you how to build and sign an app locally.

Code Snippets

The keytool command:

keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000

The jarsigner command:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore [keystore_name].keystore android-release-unsigned.apk [alias_name]

The path to the zipalign tool on Windows:

Android\android-sdk\build-tools\23.0.1

Related Links

2.4 Building and Signing the App

Back to the top