Categories: ANDROID APP

3. Firma y creación de una app híbrida (APK closing) con Apache Cordova



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

linda

Recent Posts

Revive Your Memories: Free AI Photo Restoration

In this digital age, preserving memories has become more accessible than ever. However, many of…

2 days ago

Top Horrible Therapist Games to Try

In the ever-evolving landscape of party games, where humor and creativity collide, the "Horrible Therapist"…

2 days ago

How Visors Enhance Player Safety in Football

Football visors are transparent or tinted shields attached to the helmet's face mask. They're primarily…

2 weeks ago

Timeless Wonders Await: Exploring Beijing’s Rich Heritage on Your Trip

Introduction to Beijing Beijing, the capital of China, is a city that beautifully intertwines the…

2 weeks ago

Bangla NewsPaper Surge: 15 Game-Changing Strategies

Introduction to Bangla Newspaper Industry The Bangla newspaper sector has witnessed an incredible transformation over…

2 weeks ago

Best Practices for Heating System Design

When it comes to heating your home or business, the design of your heating system…

3 weeks ago