Release Apk Flutter. Enter cd app dir where app dir is your application directory. You need to execute this command in the terminal and this will generate flutter release apk jks file in the same folder where terminal opened.
It s not navigating to the route that i mentioned in the code but the debug version app apk size around 48 mb is working as expected. If you completed thesigning steps in the previous section the release apk will be signed. This section describes how to build a release apk.
Release mode for a web app means that.
You need to execute this command in the terminal and this will generate flutter release apk jks file in the same folder where terminal opened. Keytool genkey v keystore flutter release apk jks alias alias name keyalg rsa keysize 2048 validity 10000. This is how it needs to work. Opening the app in the device.