Generate Signed APK in React Native

Published: 26 July 2020
on channel: 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


Watch video Generate Signed APK in React Native online without registration, duration hours minute second in high quality. This video was added by user Computer Science Tutorial 26 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34,742 once and liked it 447 people.