Skip to content

[Android] App crashes when rotating screen with drawer open (Profile & Release) #98955

@KevMCarp

Description

@KevMCarp

Steps to Reproduce

  1. Execute flutter run --profile or flutter run --release on the code sample
  2. Open the drawer
  3. Rotate the device

Expected results:
The app should rebuild in landscape, as seen in debug mode.

Actual results:
The app crashes.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const TestApp());
}

class TestApp extends StatelessWidget {
  const TestApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        drawer: const Drawer(),
        appBar: AppBar(),
        body: const Center(
          child: Text('Rotate device after opening drawer'),
        ),
      ),
    );
  }
}
Logs `flutter run --profile -v`
[  +63 ms] executing: [C:\Users\kgcar\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +438 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] executing: [C:\Users\kgcar\flutter/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[  +39 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] 2.10.2
[   +7 ms] executing: [C:\Users\kgcar\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\kgcar\flutter/] git ls-remote --get-url origin
[  +23 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +95 ms] executing: [C:\Users\kgcar\flutter/] git rev-parse --abbrev-ref HEAD
[  +26 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +80 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +39 ms] List of devices attached
           3583603c               device product:OnePlus8T_EEA model:KB2003 device:OnePlus8T transport_id:3
[   +7 ms] C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell getprop
[  +58 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +112 ms] Skipping pub get: version match.
[  +77 ms] Generating C:\Users\kgcar\GitHub\test\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +55 ms] ro.hardware = qcom
[  +37 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\build-tools\32.0.0\aapt dump xmltree C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +10 ms] Exit code 0 from: C:\Users\kgcar\AppData\Local\Android\sdk\build-tools\32.0.0\aapt dump xmltree C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +7 ms] Launching lib\main.dart on KB2003 in profile mode...
[   +2 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell -x logcat -v time -t 1
[ +203 ms] --------- beginning of main
                    02-22 23:34:43.955 E/NavigationButtonUtils( 2588): res.getInteger(resId) = 2
[  +10 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +12 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +14 ms] Building APK
[  +17 ms] Running Gradle task 'assembleProfile'...
[   +4 ms] Using gradle from C:\Users\kgcar\GitHub\test\android\gradlew.bat.
[  +12 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +126 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +2 ms] executing: [C:\Users\kgcar\GitHub\test\android/] C:\Users\kgcar\GitHub\test\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\kgcar\GitHub\test\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==    
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleProfile
[+3059 ms] > Task :app:compileFlutterBuildProfile
[        ] [  +57 ms] executing: [C:\Users\kgcar\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [ +423 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [        ] executing: [C:\Users\kgcar\flutter/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [  +37 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] [        ] 2.10.2
[        ] [   +6 ms] executing: [C:\Users\kgcar\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +23 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [C:\Users\kgcar\flutter/] git ls-remote --get-url origin
[        ] [  +21 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +44 ms] executing: [C:\Users\kgcar\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +47 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +82 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +73 ms] Initializing file store
[        ] [  +20 ms] Skipping target: gen_localizations
[        ] [  +10 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\kgcar\GitHub\test\.dart_tool\package_config_subset}
[        ] [  +38 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[        ] [  +10 ms] C:\Users\kgcar\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\kgcar\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\kgcar\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=true -Ddart.vm.product=false --aot --tfa --packages C:\Users\kgcar\GitHub\test\.dart_tool\package_config.json --output-dill C:\Users\kgcar\GitHub\test\.dart_tool\flutter_build\81f148471121db9ffbe8805c62e2920d\app.dill
--depfile C:\Users\kgcar\GitHub\test\.dart_tool\flutter_build\81f148471121db9ffbe8805c62e2920d\kernel_snapshot.d package:test/main.dart
[+9683 ms] [+10348 ms] kernel_snapshot: Complete
[ +394 ms] [ +379 ms] android_aot_profile_android-arm64: Starting due to {}
[        ] [   +5 ms] executing: C:\Users\kgcar\flutter\bin\cache\artifacts\engine\android-arm64-profile\windows-x64\gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=C:\Users\kgcar\GitHub\test\.dart_tool\flutter_build\81f148471121db9ffbe8805c62e2920d\arm64-v8a\app.so --strip
C:\Users\kgcar\GitHub\test\.dart_tool\flutter_build\81f148471121db9ffbe8805c62e2920d\app.dill
[   +1 ms] [        ] aot_android_asset_bundle: Starting due to {}
[  +92 ms] [ +102 ms] aot_android_asset_bundle: Complete
[+5000 ms] [+5013 ms] android_aot_profile_android-arm64: Complete
[ +206 ms] [ +186 ms] android_aot_bundle_profile_android-arm64: Starting due to {}
[        ] [   +5 ms] android_aot_bundle_profile_android-arm64: Complete
[        ] [  +56 ms] Persisting file store
[        ] [   +7 ms] Done persisting file store
[  +93 ms] [   +4 ms] build succeeded.
[        ] [  +10 ms] "flutter assemble" took 16,380ms.
[        ] [  +79 ms] ensureAnalyticsSent: 74ms
[        ] [        ] Running shutdown hooks
[   +1 ms] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +405 ms] > Task :app:packLibsflutterBuildProfile
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preProfileBuild UP-TO-DATE
[        ] > Task :app:compileProfileAidl NO-SOURCE
[        ] > Task :app:compileProfileRenderscript NO-SOURCE
[        ] > Task :app:generateProfileBuildConfig
[        ] > Task :app:checkProfileAarMetadata
[        ] > Task :app:cleanMergeProfileAssets UP-TO-DATE
[        ] > Task :app:mergeProfileShaders
[        ] > Task :app:compileProfileShaders NO-SOURCE
[        ] > Task :app:generateProfileAssets UP-TO-DATE
[        ] > Task :app:mergeProfileAssets
[        ] > Task :app:copyFlutterAssetsProfile
[        ] > Task :app:generateProfileResValues
[        ] > Task :app:generateProfileResources
[ +180 ms] > Task :app:createProfileCompatibleScreenManifests
[   +2 ms] > Task :app:extractDeepLinksProfile
[ +113 ms] > Task :app:processProfileMainManifest
[   +3 ms] > Task :app:processProfileManifest
[   +2 ms] > Task :app:mergeProfileNativeDebugMetadata NO-SOURCE
[  +16 ms] > Task :app:javaPreCompileProfile
[   +1 ms] > Task :app:processProfileManifestForPackage
[  +65 ms] > Task :app:compressProfileAssets
[        ] > Task :app:mergeProfileResources
[  +94 ms] > Task :app:checkProfileDuplicateClasses
[ +205 ms] > Task :app:processProfileResources
[ +598 ms] > Task :app:compileProfileKotlin
[  +93 ms] > Task :app:compileProfileJavaWithJavac
[   +2 ms] > Task :app:compileProfileSources
[ +107 ms] > Task :app:dexBuilderProfile
[   +1 ms] > Task :app:processProfileJavaRes NO-SOURCE
[        ] > Task :app:mergeProfileJniLibFolders
[        ] > Task :app:desugarProfileFileDependencies
[ +295 ms] > Task :app:mergeProfileJavaResource
[ +299 ms] > Task :app:mergeProfileNativeLibs
[ +407 ms] > Task :app:stripProfileDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libapp.so, libflutter.so, libvmservice_snapshot.so.
[        ] > Task :app:validateSigningProfile
[ +489 ms] > Task :app:mergeExtDexProfile
[ +601 ms] > Task :app:mergeDexProfile
[ +500 ms] > Task :app:packageProfile
[        ] > Task :app:assembleProfile
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 22s
[        ] 32 actionable tasks: 31 executed, 1 up-to-date
[ +550 ms] Running Gradle task 'assembleProfile'... (completed in 23.7s)
[  +25 ms] calculateSha: LocalDirectory: 'C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk'/app.apk
[ +139 ms] √  Built build\app\outputs\flutter-apk\app-profile.apk (11.5MB).
[   +3 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\build-tools\32.0.0\aapt dump xmltree C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +11 ms] Exit code 0 from: C:\Users\kgcar\AppData\Local\Android\sdk\build-tools\32.0.0\aapt dump xmltree C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +4 ms] Stopping app 'app.apk' on KB2003.
[        ] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell am force-stop com.example.test
[  +78 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell pm list packages com.example.test
[  +82 ms] package:com.example.test
[   +1 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell cat /data/local/tmp/sky.com.example.test.sha1
[  +44 ms] d9e7dab41ce55f9f4b276330648f0a37fb0bc4f6
[   +1 ms] Installing APK.
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c install -t -r C:\Users\kgcar\GitHub\test\build\app\outputs\flutter-apk\app.apk
[+2316 ms] Performing Streamed Install
                    Success
[   +2 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 2,318ms)
[        ] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell echo -n 112a2405ecaf82c27ff795cbf8e438d39d733043 > /data/local/tmp/sky.com.example.test.sha1
[  +38 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell -x logcat -v time -t 1
[ +180 ms] --------- beginning of main
                    02-22 23:35:10.897 D/OPFD_CTRL_SVC( 1692): _hasEnableParallel_com.android.phone
[   +5 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true com.example.test/com.example.test.MainActivity
[  +73 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.test/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +366 ms] Observatory URL on device: http://127.0.0.1:37611/440HO5Rjw2o=/
[   +1 ms] executing: C:\Users\kgcar\AppData\Local\Android\sdk\platform-tools\adb.exe -s 3583603c forward tcp:0 tcp:37611
[  +17 ms] 54019
[        ] Forwarded host port 54019 to device port 37611 for Observatory
[  +13 ms] Connecting to service protocol: http://127.0.0.1:54019/440HO5Rjw2o=/
[  +93 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:54019/440HO5Rjw2o=/.
[ +117 ms] DDS is listening at http://127.0.0.1:54028/1jw36KZIMws=/.
[  +49 ms] Successfully connected to service protocol: http://127.0.0.1:54019/440HO5Rjw2o=/
[   +7 ms] Application running.
[  +33 ms] Connected to KB2003
[   +2 ms] Flutter run key commands.
[   +2 ms] h List all available interactive commands.
[        ] c Clear the screen
[   +1 ms] q Quit (terminate the application on the device).
[   +2 ms] An Observatory debugger and profiler on KB2003 is available at: http://127.0.0.1:54028/1jw36KZIMws=/
[ +141 ms] The Flutter DevTools debugger and profiler on KB2003 is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:54028/1jw36KZIMws=/
[ +129 ms] W/DisplayEventDispatcher(30201): dispatcher 0xb400006da9ecc5d0 ~ ignoring unknown event type 0x6d746f6e
[   +1 ms] W/DisplayEventDispatcher(30201): dispatcher 0xb400006d59eb1ed0 ~ ignoring unknown event type 0x6d746f6e
[+3411 ms] D/OpScreenModeManager(30201): setRefreshRate parent io.flutter.embedding.android.FlutterView{3d13f1b VFE...... ......ID 0,0-1080,2400 #1} parent width 1080 parent height 2400 mRatio 1.2
[   +1 ms] D/OpScreenModeManager(30201): setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{776552a V.E...... ......ID 0,0-1080,2400} viewRate 1 width 1080 height 2400
[        ] D/OpScreenModeManager(30201): setRefreshRate parent io.flutter.embedding.android.FlutterView{3d13f1b VFE...... ........ 0,0-1080,2400 #1} parent width 1080 parent height 2400 mRatio 1.2
[        ] D/OpScreenModeManager(30201): setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{776552a V.E...... ........ 0,0-1080,2400} viewRate 1 width 1080 height 2400
[+36252 ms] I/om.example.tes(30201): Thread[6,tid=19037,WaitingInMainSignalCatcherLoop,Thread*=0xb400006e79e99e90,peer=0x12d43a28,"Signal Catcher"]: reacting to signal 3
[   +2 ms] I/om.example.tes(30201): 
[ +452 ms] I/om.example.tes(30201): Wrote stack traces to tombstoned
[+3830 ms] F/crash_dump64(19359): crash_dump.cpp:474] failed to attach to thread 667: Permission denied
[+2266 ms] Service protocol connection closed.
[        ] Lost connection to device.
[  +11 ms] "flutter run" took 74,774ms.
[  +72 ms] ensureAnalyticsSent: 69ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

flutter analyze

Analyzing test...                                                       
No issues found! (ran in 1.8s)

flutter doctor -v

[√] Flutter (Channel stable, 2.10.2, on Microsoft Windows [Version 10.0.22000.493], locale en-GB)
    • Flutter version 2.10.2 at C:\Users\kgcar\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (4 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\kgcar\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.64.2)
    • VS Code at C:\Users\kgcar\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (4 available)
    • KB2003 (mobile)   • 3583603c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.22000.493]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 98.0.1108.50

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: releaseChallenges faced when attempting to productionize an appc: fatal crashCrashes that terminate the processc: regressionIt was better in the past than it is nowe: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.found in release: 2.10Found to occur in 2.10has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions