Computer Science
Jobs & Education
How to Generate Signed apk in flutter android studio
856 views
·
Oct 7, 2021
Visit Channel:protocoderspoint.com
#flutter #buildapk #fluttertutorial
Hi Bro, if this video was helpful to you, then please do Subscribe, PROTO CODERS POINT.
π π π π
My aim is to reach 1000+ subscribe π by 1 week, 300 to reach 1000. please show Supportπ€ ππ
____________________________________________________________________
Welcome to Proto Coders Point, In this video we will learn how to generate signed apk of your flutter code in android studio. There are various ways to create a APK file, But in this article we will check out the simplest & easiest way to do it.
Official Flutter Website: https://flutter.dev/docs/deployment/android
https://protocoderspoint.com/how-to-generate-signed-apk-in-flutter-android-studio/
Note: You may need to run flutter clean after changing the gradle file. This prevents cached builds from affecting the signing process.
kep.properties file
storePassword=password from previous step
keyPassword=password from previous step
keyAlias=key
storeFile=location of the key store file, such as /Users/user name/key.jks
Code that you need to add in build.gradle
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
Comment below for any queries π
Follow and support me:
π¦ Twitter: https://twitter.com/rajatpalankar
π¬ Facebook: https://www.facebook.com/protocoderspoint/
πΈ Instagram: https://www.instagram.com/protocoderspoint/
Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)
For mobile application development keep learning freely from proto coders point
Visit: https://protocoderspoint.com/ .
.
Support Proto Coders Point: https://www.buymeacoffee.com/rajatpalankar
Show More
Show LessComments
loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text