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

Common Myths About Olxtoto Predictions Debunked

In the vibrant world of online gaming, Olxtoto has emerged as a prominent platform, celebrated…

2 days ago

Top 5 Exciting Slots to Play Today

In our extensive research and analysis, we have identified the top 5 exciting slots that…

6 days ago

Top Unblocked Snowboard Games to Play

Before we jump into the list, you might be wondering why you should consider playing…

7 days ago

Choosing the Right Commercial Furniture for Your Business

Commercial furniture plays a crucial role in defining the atmosphere and efficiency of your workspace.…

7 days ago

Loaner Car: Everything You Need to Know About a Loaner Car

What Is a Loaner Car? A loaner car is a temporary replacement vehicle provided by…

1 week ago

The Biggest Poker Prizes in History

Introduction Poker has long been more than just a card game—it’s a world where strategy,…

2 weeks ago