5 Simple Steps to Build Signed APK

Опубликовано: 02 Май 2026
на канале: Ghulam Abbass
313
4

More Videos,
Firebase Playlist:
   • 🔥 Firebase Tutorials  

Easy Flutter Tutorial Series For Beginners Playlist:
   • Flutter Tutorial Series for Beginners - Ze...  

Web Development Playlist:
   • 👨🏻‍💻 Web Development (HTML, CSS, JS, Wordp...  

Laravel Playlist:
   • 💻 Laravel Tutorials  

=====
ABOUT Ghulam Abbass 👨🏻‍💻
=====
I am Co-Founder and CTO at Zed Developers (zeddevelopers.com), ISSB recommended PAF Flying Officer, Microsoft Certified Professional, GDG Soweto Google Flutter Tech Speaker and creative Entrepreneur. I love exploring technology and I make Flutter tutorials on YouTube in my free time.

=====
FOLLOW ME ON THE SOCIALS
=====
Website : http://ghulamabbass.com
Facebook :   / abbassified  
Instagram :   / abbassified  
Gmail: [email protected]
Linked In:   / gabbass  
Twitter:   / gabbass95  


👉🏻 Step 1. Generating Signing Keys:

keytool -genkey -v -keystore yt_app.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias yt_app

👉🏻 Step 2. Create key.properties file:

storePassword=rempace_your_password
keyPassword=12345678
keyAlias=yt_app
storeFile=/Users/YourLaptopName/YouTube Studio/youtube_app/key/yt_app.jks

👉🏻 Step 3. Update android/app/build.gradle [add following lines before android { ]

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

👉🏻 Step 4. Update android/app/build.gradle [add following lines, replace buildTypes block ]:

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}

👉🏻 Step 5. Build App
flutter build apk --release
or
flutter build appbundle