Build Android App (.apk, .aab)

Clean the Project #

Drag and drop the project in VS code. Run the command in Vs Code terminal:

flutter clean

Delete the following folders (if present):
1. android/.gradle
2. .dart_tool

Run Debug App #

Run the app in debug mode using the command:

flutter run

Once you run the App for very first time, it will prompt you to enter the PURCHASE_CODE received from CodeCanyon mentioned in the License file. This will activate the License and setup the App Instantly.

Run Release App #

Run the app in release mode using the command:

flutter run --release
Build Release App (.apk) #

Build app-release.apk file using the command:

flutter build apk --release

PLEASE NOTE: app-release.apk size is large. It will be between 30 to 70MB when published on Google Playstore using .aab (Android App Bundle)

Build Android App bundle (.aab) #

Build app-release.aab app bundle to submit it in Google Playstore. Run the following command:

flutter build appbundle --release

Powered by BetterDocs