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
Hey there, curious minds! Ready to dive into the fascinating world of Mnogorazoye Pod-Sistemy architecture?…
Complete dentures, often referred to as false teeth, are a set of artificial teeth designed…
The Li River is located in Guilin, Guangxi, China. It is famous for its green…
Marketing in the digital age can feel like spinning plates. You've got your social media,…
Imagine a world where AI tools are tailor-made just for you. Personalized AI technology is…
Looking for a meaningful gift that will touch the hearts of those you love? At The…