Generate Signed APK in React Native

Publicado em: 26 Julho 2020
no canal de: Computer Science Tutorial
34,742
447

Hello Friends

In this tutorial video, I will explain you how to generate Signed APK in React Native step-by-step
#react #reactnative #reactnativetutorial

Step 1 Generate a Signed Release Key file
keytool -genkey -v -keystore demo.keystore -alias demo -keyalg RSA -keysize 2048 -validity 10000

Step 2 Setting up Gradle variables
MYAPP_RELEASE_STORE_FILE=demo.keystore
MYAPP_RELEASE_KEY_ALIAS=demo
MYAPP_RELEASE_STORE_PASSWORD=demo*123#
MYAPP_RELEASE_KEY_PASSWORD=demo*123#

Step 3 Adding signing config to app's Gradle config
signingConfigs
{
release
{
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE'))
{
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
}

buildTypes
{
release
{

signingConfig signingConfigs.release
}
}

Step 4 Generating the APK
gradlew assembleRelease

If you like this video or have any suggestion, please write it into the comment section.


WebSite http://www.computersciencetutorial.com/
Facebook   / computersciencetutorialss  
Twitter   / cs_tutorial  
Raddit   / cstutorial  
Tumbler   / computersciencetutorial  
Instagram   / computersciencetutorial  
Linkedin   / computersciencetutorial  
VK https://vk.com/computersciencetutorial


Nesta página do site você pode assistir ao vídeo on-line Generate Signed APK in React Native duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Computer Science Tutorial 26 Julho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 34,742 vezes e gostou 447 espectadores. Boa visualização!