Flutter

Resources

Build Native Mobile Apps with Flutter (Udacity)
GitHub repository

Disable analytics

flutter config --no-analytics

Change channel

flutter channel beta
flutter upgrade

Build and release

Reference

Launcher icons

  1. Created a 192x192 SVG image in Inkscape with text.
  2. Exported a 512x512 PNG and used Android Asset Studio to generate icons.
  3. Used a padding of 25.

Create keystore

keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
Enter keystore password:  
Re-enter new password: 

Answer questions when prompted to generate keystore file key.jks.

Then, create the file android/key.properties with the following content:

storePassword=xpassword
keyPassword=xpassword
keyAlias=key
storeFile=/path/to/key.jks

Exclude this file from Git.

Then update build.gradle.

Build and install release APK

Reference

flutter build apk
flutter install