title: Flutter Release Apk (App Not Installed ) Error
body: <p>I am to install the release app build with the release command
  <code>flutter build apk --release</code> but when I am trying to install that apk it is showing the App not installed. Please help me to solve this issue. Also I had tried to build apk per abi but then also the issue remains. I am using fvm to build the apk and Flutter version 2.2.2.</p>
  <p>app/build.gradle</p>
  <pre><code>def localPropertiesFile = rootProject.file('local.properties')
  if (localPropertiesFile.exists()) {
      localPropertiesFile.withReader('UTF-8') { reader -&gt;
          localProperties.load(reader)
      }
  }
  
  def flutterRoot = localProperties.getProperty('flutter.sdk')
  if (flutterRoot == null) {
      throw new FileNotFoundException(&quot;Flutter SDK not found. Define location with flutter.sdk in the local.properties file.&quot;)
  }
  
  def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
  if (flutterVersionCode == null) {
      flutterVersionCode = '1'
  }
  
  def flutterVersionName = localProperties.getProperty('flutter.versionName')
  if (flutterVersionName == null) {
      flutterVersionName = '1.0'
  }
  
  apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply from: &quot;$flutterRoot/packages/flutter_tools/gradle/flutter.gradle&quot;
  apply plugin: 'com.google.gms.google-services'
  
  
  def keystoreProperties = new Properties()
  def keystorePropertiesFile = rootProject.file('key.properties')
  if (keystorePropertiesFile.exists()) {
     keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
  }
  
  
  android {
      compileSdkVersion 30
  
      sourceSets {
          main.java.srcDirs += 'src/main/kotlin'
      }
  
      lintOptions {
          disable 'InvalidPackage'
      }
  
      defaultConfig {
          applicationId &quot;package_name&quot;
          minSdkVersion 20
          targetSdkVersion 30
          versionCode flutterVersionCode.toInteger()
          versionName flutterVersionName
          multiDexEnabled true
      }
  
      signingConfigs {
          release {
             keyAlias keystoreProperties['keyAlias']
             keyPassword keystoreProperties['keyPassword']
             storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
             storePassword keystoreProperties['storePassword']
          }
      }
      buildTypes {
          release {            
              minifyEnabled true
              useProguard true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  
          }
      }
      compileOptions {
          targetCompatibility JavaVersion.VERSION_1_8
          sourceCompatibility JavaVersion.VERSION_1_8
      }
  }
  
  flutter {
      source '../..'
  }
  
  dependencies {
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;
      implementation &quot;org.jetbrains.kotlin:kotlin-reflect:1.3.50&quot;
      implementation platform('com.google.firebase:firebase-bom:26.4.0')
      implementation &quot;androidx.browser:browser:1.3.0&quot;
      implementation 'com.google.firebase:firebase-analytics'
      implementation 'com.google.firebase:firebase-auth'
      implementation 'com.google.firebase:firebase-messaging'
  }
  </code></pre>
  <p>Also tried to generate new keystore for the apk but same issue.I had tried both signed and unsigned apk.</p>