Flutter How to Generate the Signed Apk/Bundle in Android Studio in 3 Steps
When I was generating the Android signed app bundle in Android studio, It was much more challenging to build because the way we make a signed app apk/bundle in native android is not supported in the case of the Flutter project. The signed app bundle is used when publishing your application in the play store.
Maybe the following warning will display when you gonna build the app bundle.
So I found this solution, and it is an easy way to build the signed apk or app bundle. You need to follow the steps below.
1. Create the JKS File
To create the JKS file, run the below command on the terminal. Please replace Your User name, app name, and alias as you want.
keytool -genkey -v -keystore C:/Users/Your User Name/app-name.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias genotechies
When the command runs, it will ask for the following details to create the JKS file.