what is the command used to manually generate a key in Android?
-
openkey
-
zipalign
-
jarsigner
-
keytool
Reveal answer
Fill a bubble to check yourself
D
Correct answer
Explanation
keytool is the Java utility used to generate cryptographic keys and key pairs for Android application signing. openkey doesn't exist, zipalign is for APK optimization (not key generation), and jarsigner is for signing existing JAR/APK files with an already-generated key.
AI explanation
keytool is the Java/Android command-line utility used to generate and manage cryptographic keys and keystores, including the signing keys used for Android app signing. jarsigner uses an existing key to sign a JAR/APK but doesn't generate one, and zipalign only optimizes APK file alignment — neither creates keys.