title: Flutter: APK does not open the app when installed on device
body: <p>I've build the apk file for the app I'm working on with the command <code>flutter build apk --split-per-abi</code>. It worked without any warnings.</p>
  <p>However, when I try to install the app on my phone, it doesn't open. I get a message saying the app has been installed correctly and I even see the app with its custom icon, but when I go to open it it doesn't work.</p>
  <p>This is my <code>build.gradle</code>, in case that's helpful</p>
  <pre><code>android {
      compileSdkVersion 31
  
      sourceSets {
          main.java.srcDirs += 'src/main/kotlin'
      }
  
      defaultConfig {
          // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
          applicationId &quot;&lt;ID&gt;&quot;
          minSdkVersion 23
          targetSdkVersion 31
          versionCode flutterVersionCode.toInteger()
          versionName flutterVersionName
      }
  </code></pre>
  <p>Edit: I deleted my build with <code>flutter clean</code> and when I build the apk again I got the following errors.</p>
  <pre><code>Building with sound null safety 
  
  Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.6\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.5.4\android\src\main\java\io\flutter\plugins\firebase\firestore\streamhandler\TransactionStreamHandler.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\printing-5.6.0\android\src\main\java\net\nfet\flutter\printing\PrintingPlugin.java uses or overrides a deprecated API.       
  Note: Recompile with -Xlint:deprecation for details.
  Running Gradle task 'assembleRelease'... 
  
                 
  </code></pre>