Posts

Showing posts with the label Flutter Release

Can't Build Release APK For Flutter

Answer : Turns out, the best way to handle this is to make the following change in android/app/build.gradle : android { compileSdkVersion 26 buildToolsVersion '26.0.3' lintOptions { disable 'InvalidPackage' } defaultConfig { applicationId "com.example.app" minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile file(keystoreProperties['storeFile']) storePassword keystoreProperties['storePassword'] } } // This is the main section that I've updated // to get the release APK to build buildTypes { release { profi...