How to build signed apk from Android Studio ?

  1. Go Tools > Flutter > Open for Editing in Android Studio and select New Window option.
  2. Wait for while until project synchronization.
  3. Go to Build > Generate Signed Bundle/APK.
  4. Select Android App Bundle or APK option and click Next.
  5. Select Create new.. option to generate new Signed Key if you release your app first time.
  6. Fill all Options.
  7. Click OK then click Next.
  8. Build Variants.
  9. Wait for a while until Gradle Build Running process complete.


Options

Key store Path - Path where your key store file .jks file stored.
Key store password - Enter password. e.g. 123456
Key alias - Enter Key alias e.g. key
Key Password - Enter Key password (Choose different password than Key store password) e.g. 123456
Validity(years) - Keep it as it is or change as per your requirements.
Certificate - Fill certificate information (Not all fields are mandatory)


Variants

Android App Bundle

  1. Select release and click Finish.


APK -

  1. Select profile and checked V1 and V2.
  2. Click Finish.
  3. Repeat the step by select release after the profile apk generated.