En este vídeo crearemos un APK preparado para ser firmado, posteriormente crearemos la firma y el APK closing (utilizando las herramientas de Java, keytool y jarsigner y la herramienta de Android zipalign). Al mismo tiempo veremos cómo solucionar algunos problemas relacionados, añadiendo las rutas necesarias como variables de entorno.
Para la creación del apk preparado para ser firmado:
Desde la carpeta donde se encuentra el proyecto (en el ejemplo del vídeo c:appjab), escribir:
construct android –release
Comandos y parámetros para la creación de la firma y compilación del APK closing.
(Sustituye “NOMBRE” por el nombre de tu proyecto):
keytool -genkey -v -keystore NOMBRE-key.keystore -alias NOMBRE -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore NOMBRE-key.keystore android-release-unsigned.apk NOMBRE
zipalign -v four android-release-unsigned.apk apkfirmado.apk
source
In the heart of Palm Springs, where the desert meets sophistication, there's a place where…
As a typical contractor building a school or an electrician upgrading the light at a…
Personal trainers can often help their clients set realistic goals that they can reach within…
As the temperatures rise and the days grow longer, the perfect way to beat the…
In today's fast-paced world, finding a personal sanctuary to unwind and relax is more important…