Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssetImage does not load on pushing a route after moving app from background to foreground #99057

Closed
Glitchy-Tozier opened this issue Feb 24, 2022 · 12 comments
Labels
r: fixed Issue is closed as already fixed in a newer version

Comments

@Glitchy-Tozier
Copy link

Glitchy-Tozier commented Feb 24, 2022

The strange thing about this bug is that it doesn't happen with the previous version of this app. (v1.2.2 on https://f-droid.org/en/packages/com.florianthaler.githo/)
The issue can't be debug-only because still occurs when using flutter install.

Steps to Reproduce

Setup:

  1. Clone https://github.com/Glitchy-Tozier/githo
  2. Go to widgets/background.dart and replace ExactAssetImage with AssetImage.
  3. Execute flutter run to get the app on your android-phone

Actual bug:
The bug happens when navigating to a new screen after pausing & returning to the app. It doesn't work everywhere though, which is pretty confusing.

  1. Navigate to the list of habits-screen (Gears icon -> pink list-Icon) (You should arrive at a screen with the title "Habits"
  2. Press one of the bottom navigation buttons on your Android device to go into that task-manager-like view.
  3. Return to the app
  4. Click on one of the gray buttons
  5. See bug: The next screen should fail to load the background-image.

Other parts of background.dart still are getting shown (turn on dark mode to see them), so it can't be that background.dart isn't loaded at all. Also, in all affected screens, I load Background as the top Widget, right after Scaffold. Thus, this shouldn't be an effect of weird app-internal logic that decides to not show the Background-Widget.

"Fix":
When tapping this bugged screen, nothing changes; however, when I scroll, the background suddenly pops into existence.

Expected results:
The next screen should still be able to load the AssetImage.

Actual results:
No background-image is shown (other parts of the Background-Widget are still getting shown)

Code sample

I did my best to create a minimal sample, but I can't get the bug to appear in a new project. Still, I can share the code-sample to give an idea of how the backgrould.dart-Widget is used.
(In this case, you would try to reproduce the bug by starting the app, going into Android's "task-manager-view", coming back, and clicking on the FloatingActionButton to navigate to the next, bugged screen.)

main.dart

import 'package:asdf/background.dart';
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: HomeScreen(),
    );
  }
}

class HomeScreen extends StatefulWidget {
  const HomeScreen({Key? key}) : super(key: key);

  @override
  State<HomeScreen> createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: const Background(
        child: Center(
          child: Text('HomePage'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => Navigator.push(
          context,
          MaterialPageRoute<SecondScreen>(
            builder: (BuildContext context) => const SecondScreen(),
          ),
        ),
      ),
    );
  }
}

class SecondScreen extends StatefulWidget {
  const SecondScreen({Key? key}) : super(key: key);

  @override
  State<SecondScreen> createState() => _SecondScreenState();
}

class _SecondScreenState extends State<SecondScreen> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Background(
        child: Center(
          child: Text('SecondScreen'),
        ),
      ),
    );
  }
}

Background.dart

import 'dart:ui';
import 'package:flutter/material.dart';

class Background extends StatelessWidget {
  /// Returns a background and places the child in the foreground.
  const Background({
    this.child = const SizedBox(),
    Key? key,
  }) : super(key: key);

  final Widget child;

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        // Background
        Container(
          decoration: const BoxDecoration(
            image: DecorationImage(
              image: AssetImage('assets/color_gradient.jpg'),  // <---- This is what seems to be bugged.
              fit: BoxFit.fill,
            ),
          ),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: <Widget>[
              Container(width: 16, color: Colors.transparent),
              Container(
                width: 16,
                color: Colors.transparent,
              ),
            ],
          ),
        ),
        Padding(
          padding: const EdgeInsets.symmetric(horizontal: 16),
          child: ClipRect(
            child: BackdropFilter(
              filter: ImageFilter.blur(
                sigmaX: 5,
                sigmaY: 5,
              ),
              child: Container(
                color: Theme.of(context).backgroundColor.withOpacity(0.6),
              ),
            ),
          ),
        ),
        // Content
        child,
      ],
    );
  }
}

Logs: Moved to next comment due to character-cap on Github

@Glitchy-Tozier
Copy link
Author

Glitchy-Tozier commented Feb 24, 2022

Logs
$ flutter run --verbose

[  +85 ms] executing: uname -m
[  +41 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +7 ms] executing: [/home/florian/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] executing: [/home/florian/snap/flutter/common/flutter/] git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[  +18 ms] Exit code 0 from: git tag --points-at 097d3313d8e2c7f901932d63e537c1acefb87800
[        ] 2.10.2
[  +12 ms] executing: [/home/florian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/florian/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +101 ms] executing: [/home/florian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +66 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.
[   +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.
[  +75 ms] executing: /home/florian/Android/Sdk/platform-tools/adb devices -l
[  +47 ms] List of devices attached
           2ad0488111017ece       device usb:3-3 product:starltexx model:SM_G960F device:starlte transport_id:1
[   +7 ms] /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell getprop
[ +113 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.
[   +1 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.
[   +1 ms] 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.
[ +154 ms] Skipping pub get: version match.
[  +37 ms] Found plugin flutter_local_notifications at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.3.2/
[  +23 ms] Found plugin package_info_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.3.1/
[   +2 ms] Found plugin package_info_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +3 ms] Found plugin package_info_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.4/
[   +5 ms] Found plugin path_provider at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[   +2 ms] Found plugin path_provider_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.11/
[   +2 ms] Found plugin path_provider_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.7/
[   +1 ms] Found plugin path_provider_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[   +2 ms] Found plugin path_provider_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[   +2 ms] Found plugin path_provider_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +6 ms] Found plugin share_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.5/
[   +1 ms] Found plugin share_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +2 ms] Found plugin share_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +3 ms] Found plugin sqflite at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2/
[  +11 ms] Found plugin url_launcher at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.20/
[   +1 ms] Found plugin url_launcher_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[   +1 ms] Found plugin url_launcher_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[   +1 ms] Found plugin url_launcher_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[   +1 ms] Found plugin url_launcher_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.8/
[   +1 ms] Found plugin url_launcher_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[  +52 ms] Found plugin flutter_local_notifications at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.3.2/
[  +10 ms] Found plugin package_info_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.3.1/
[   +1 ms] Found plugin package_info_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +1 ms] Found plugin package_info_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.4/
[   +2 ms] Found plugin path_provider at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] Found plugin path_provider_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.11/
[        ] Found plugin path_provider_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.7/
[        ] Found plugin path_provider_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] Found plugin path_provider_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[   +1 ms] Found plugin path_provider_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +2 ms] Found plugin share_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.5/
[   +1 ms] Found plugin share_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +1 ms] Found plugin share_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +1 ms] Found plugin sqflite at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2/
[   +7 ms] Found plugin url_launcher at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.20/
[        ] Found plugin url_launcher_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] Found plugin url_launcher_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[   +1 ms] Found plugin url_launcher_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.8/
[        ] Found plugin url_launcher_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[  +12 ms] Generating /home/florian/Projects/GITHO/githo/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +61 ms] ro.hardware = samsungexynos9810
[  +56 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +5 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/florian/Projects/GITHO/githo/.dart_tool/package_config_subset,/home/florian/Projects/GITHO/githo/.dart_tool/flutter_build/generated_main.dart}
[  +23 ms] Found plugin flutter_local_notifications at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.3.2/
[   +9 ms] Found plugin package_info_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.3.1/
[   +1 ms] Found plugin package_info_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.3.0/
[   +1 ms] Found plugin package_info_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.4/
[   +1 ms] Found plugin path_provider at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] Found plugin path_provider_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.11/
[        ] Found plugin path_provider_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.7/
[        ] Found plugin path_provider_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] Found plugin path_provider_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[   +1 ms] Found plugin path_provider_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +2 ms] Found plugin share_plus at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.5/
[   +1 ms] Found plugin share_plus_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[   +1 ms] Found plugin share_plus_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[   +1 ms] Found plugin sqflite at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2/
[   +6 ms] Found plugin url_launcher at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.20/
[   +1 ms] Found plugin url_launcher_android at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] Found plugin url_launcher_ios at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[        ] Found plugin url_launcher_web at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.8/
[        ] Found plugin url_launcher_windows at /home/florian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[   +7 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +3 ms] complete
[   +6 ms] Launching lib/main.dart on SM G960F in debug mode...
[   +6 ms] /home/florian/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/florian/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/florian/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.YDOVCF/flutter_tool.OGVHWU/app.dill --packages /home/florian/Projects/GITHO/githo/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +9 ms] executing: /home/florian/Android/Sdk/build-tools/31.0.0-rc4/aapt dump xmltree /home/florian/Projects/GITHO/githo/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +6 ms] Exit code 0 from: /home/florian/Android/Sdk/build-tools/31.0.0-rc4/aapt dump xmltree /home/florian/Projects/GITHO/githo/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)0x8
               A: android:versionName(0x0101021c)="1.3.0" (Raw: "1.3.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.florianthaler.githo.debug" (Raw: "com.florianthaler.githo.debug")
               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)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.VIBRATE" (Raw: "android.permission.VIBRATE")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.USE_FULL_SCREEN_INTENT" (Raw: "android.permission.USE_FULL_SCREEN_INTENT")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.SCHEDULE_EXACT_ALARM" (Raw: "android.permission.SCHEDULE_EXACT_ALARM")
               E: application (line=20)
                 A: android:label(0x01010001)="Githo" (Raw: "Githo")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=25)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.florianthaler.githo.MainActivity" (Raw: "com.florianthaler.githo.MainActivity")
                   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=39)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=43)
                     E: action (line=44)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=46)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: provider (line=57)
                   A: android:name(0x01010003)="dev.fluttercommunity.plus.share.ShareFileProvider" (Raw: "dev.fluttercommunity.plus.share.ShareFileProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.florianthaler.githo.debug.flutter.share_provider" (Raw: "com.florianthaler.githo.debug.flutter.share_provider")
                   A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
                   E: meta-data (line=62)
                     A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
                     A: android:resource(0x01010025)=@0x7f0c0000
                 E: receiver (line=67)
                   A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: receiver (line=70)
                   A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   E: intent-filter (line=73)
                     E: action (line=74)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
                     E: action (line=75)
                       A: android:name(0x01010003)="android.intent.action.MY_PACKAGE_REPLACED" (Raw: "android.intent.action.MY_PACKAGE_REPLACED")
                     E: action (line=76)
                       A: android:name(0x01010003)="android.intent.action.QUICKBOOT_POWERON" (Raw: "android.intent.action.QUICKBOOT_POWERON")
                     E: action (line=77)
                       A: android:name(0x01010003)="com.htc.intent.action.QUICKBOOT_POWERON" (Raw: "com.htc.intent.action.QUICKBOOT_POWERON")
                 E: activity (line=81)
                   A: android:theme(0x01010000)=@0x01030007
                   A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: uses-library (line=86)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=89)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +8 ms] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell -x logcat -v time -t 1
[  +11 ms] <- compile file:///home/florian/Projects/GITHO/githo/.dart_tool/flutter_build/generated_main.dart
[ +116 ms] --------- beginning of main
                    02-24 08:58:43.321 I/SurfaceFlinger(  514): SFWD update time=74842087140815
[  +12 ms] executing: /home/florian/Android/Sdk/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
           Version 32.0.0-8006631
           Installed as /home/florian/Android/Sdk/platform-tools/adb
[   +2 ms] executing: /home/florian/Android/Sdk/platform-tools/adb start-server
[   +8 ms] Building APK
[  +20 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] Using gradle from /home/florian/Projects/GITHO/githo/android/gradlew.
[  +15 ms] executing: /snap/android-studio/current/android-studio/jre/bin/java -version
[ +121 ms] Exit code 0 from: /snap/android-studio/current/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7590822, mixed mode)
[   +1 ms] executing: [/home/florian/Projects/GITHO/githo/android/] /home/florian/Projects/GITHO/githo/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/home/florian/Projects/GITHO/githo/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 assembleDebug
[+2096 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[  +88 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :flutter_local_notifications:preBuild UP-TO-DATE
[        ] > Task :flutter_local_notifications:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_local_notifications:compileDebugAidl NO-SOURCE
[        ] > Task :package_info_plus:preBuild UP-TO-DATE
[   +7 ms] > Task :package_info_plus:preDebugBuild UP-TO-DATE
[        ] > Task :package_info_plus:compileDebugAidl NO-SOURCE
[        ] > Task :path_provider_android:preBuild UP-TO-DATE
[        ] > Task :path_provider_android:preDebugBuild UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugAidl NO-SOURCE
[        ] > Task :share_plus:preBuild UP-TO-DATE
[        ] > Task :share_plus:preDebugBuild UP-TO-DATE
[        ] > Task :share_plus:compileDebugAidl NO-SOURCE
[        ] > Task :sqflite:preBuild UP-TO-DATE
[        ] > Task :sqflite:preDebugBuild UP-TO-DATE
[        ] > Task :sqflite:compileDebugAidl NO-SOURCE
[        ] > Task :url_launcher_android:preBuild UP-TO-DATE
[        ] > Task :url_launcher_android:preDebugBuild UP-TO-DATE
[        ] > Task :url_launcher_android:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :flutter_local_notifications:packageDebugRenderscript NO-SOURCE
[        ] > Task :package_info_plus:packageDebugRenderscript NO-SOURCE
[        ] > Task :path_provider_android:packageDebugRenderscript NO-SOURCE
[        ] > Task :share_plus:packageDebugRenderscript NO-SOURCE
[        ] > Task :sqflite:packageDebugRenderscript NO-SOURCE
[        ] > Task :url_launcher_android:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_local_notifications:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :package_info_plus:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :path_provider_android:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :share_plus:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :sqflite:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :url_launcher_android:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[  +87 ms] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_local_notifications:mergeDebugShaders UP-TO-DATE
[        ] > Task :flutter_local_notifications:compileDebugShaders NO-SOURCE
[        ] > Task :flutter_local_notifications:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_local_notifications:packageDebugAssets UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugShaders UP-TO-DATE
[        ] > Task :package_info_plus:compileDebugShaders NO-SOURCE
[        ] > Task :package_info_plus:generateDebugAssets UP-TO-DATE
[        ] > Task :package_info_plus:packageDebugAssets UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugShaders UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugShaders NO-SOURCE
[        ] > Task :path_provider_android:generateDebugAssets UP-TO-DATE
[        ] > Task :path_provider_android:packageDebugAssets UP-TO-DATE
[        ] > Task :share_plus:mergeDebugShaders UP-TO-DATE
[        ] > Task :share_plus:compileDebugShaders NO-SOURCE
[        ] > Task :share_plus:generateDebugAssets UP-TO-DATE
[        ] > Task :share_plus:packageDebugAssets UP-TO-DATE
[        ] > Task :sqflite:mergeDebugShaders UP-TO-DATE
[        ] > Task :sqflite:compileDebugShaders NO-SOURCE
[        ] > Task :sqflite:generateDebugAssets UP-TO-DATE
[        ] > Task :sqflite:packageDebugAssets UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugShaders UP-TO-DATE
[        ] > Task :url_launcher_android:compileDebugShaders NO-SOURCE
[        ] > Task :url_launcher_android:generateDebugAssets UP-TO-DATE
[        ] > Task :url_launcher_android:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +393 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :flutter_local_notifications:compileDebugRenderscript NO-SOURCE
[        ] > Task :flutter_local_notifications:generateDebugResValues UP-TO-DATE
[        ] > Task :flutter_local_notifications:generateDebugResources UP-TO-DATE
[        ] > Task :flutter_local_notifications:packageDebugResources UP-TO-DATE
[        ] > Task :package_info_plus:compileDebugRenderscript NO-SOURCE
[        ] > Task :package_info_plus:generateDebugResValues UP-TO-DATE
[        ] > Task :package_info_plus:generateDebugResources UP-TO-DATE
[        ] > Task :package_info_plus:packageDebugResources UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugRenderscript NO-SOURCE
[        ] > Task :path_provider_android:generateDebugResValues UP-TO-DATE
[        ] > Task :path_provider_android:generateDebugResources UP-TO-DATE
[        ] > Task :path_provider_android:packageDebugResources UP-TO-DATE
[        ] > Task :share_plus:compileDebugRenderscript NO-SOURCE
[        ] > Task :share_plus:generateDebugResValues UP-TO-DATE
[        ] > Task :share_plus:generateDebugResources UP-TO-DATE
[        ] > Task :share_plus:packageDebugResources UP-TO-DATE
[        ] > Task :sqflite:compileDebugRenderscript NO-SOURCE
[        ] > Task :sqflite:generateDebugResValues UP-TO-DATE
[        ] > Task :sqflite:generateDebugResources UP-TO-DATE
[        ] > Task :sqflite:packageDebugResources UP-TO-DATE
[        ] > Task :url_launcher_android:compileDebugRenderscript NO-SOURCE
[        ] > Task :url_launcher_android:generateDebugResValues UP-TO-DATE
[        ] > Task :url_launcher_android:generateDebugResources UP-TO-DATE
[        ] > Task :url_launcher_android:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :flutter_local_notifications:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :flutter_local_notifications:processDebugManifest UP-TO-DATE
[        ] > Task :package_info_plus:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :package_info_plus:processDebugManifest UP-TO-DATE
[        ] > Task :path_provider_android:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :path_provider_android:processDebugManifest UP-TO-DATE
[        ] > Task :share_plus:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :share_plus:processDebugManifest UP-TO-DATE
[        ] > Task :sqflite:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :sqflite:processDebugManifest UP-TO-DATE
[        ] > Task :url_launcher_android:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :url_launcher_android:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :flutter_local_notifications:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :flutter_local_notifications:parseDebugLocalResources UP-TO-DATE
[  +92 ms] > Task :flutter_local_notifications:generateDebugRFile UP-TO-DATE
[        ] > Task :package_info_plus:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :package_info_plus:parseDebugLocalResources UP-TO-DATE
[        ] > Task :package_info_plus:generateDebugRFile UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :path_provider_android:parseDebugLocalResources UP-TO-DATE
[        ] > Task :path_provider_android:generateDebugRFile UP-TO-DATE
[        ] > Task :share_plus:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :share_plus:parseDebugLocalResources UP-TO-DATE
[        ] > Task :share_plus:generateDebugRFile UP-TO-DATE
[        ] > Task :sqflite:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :sqflite:parseDebugLocalResources UP-TO-DATE
[  +98 ms] > Task :sqflite:generateDebugRFile UP-TO-DATE
[        ] > Task :url_launcher_android:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :url_launcher_android:parseDebugLocalResources UP-TO-DATE
[        ] > Task :url_launcher_android:generateDebugRFile UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :flutter_local_notifications:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_local_notifications:javaPreCompileDebug UP-TO-DATE
[        ] > Task :flutter_local_notifications:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :flutter_local_notifications:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :package_info_plus:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :package_info_plus:javaPreCompileDebug UP-TO-DATE
[        ] > Task :package_info_plus:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :package_info_plus:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :path_provider_android:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :path_provider_android:javaPreCompileDebug UP-TO-DATE
[        ] > Task :path_provider_android:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :path_provider_android:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :share_plus:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :share_plus:javaPreCompileDebug UP-TO-DATE
[        ] > Task :share_plus:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :share_plus:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :sqflite:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :sqflite:javaPreCompileDebug UP-TO-DATE
[        ] > Task :sqflite:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :sqflite:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :url_launcher_android:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :url_launcher_android:javaPreCompileDebug UP-TO-DATE
[        ] > Task :url_launcher_android:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :url_launcher_android:bundleLibCompileToJarDebug UP-TO-DATE
[  +94 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_local_notifications:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_local_notifications:bundleLibResDebug NO-SOURCE
[        ] > Task :package_info_plus:processDebugJavaRes NO-SOURCE
[   +1 ms] > Task :package_info_plus:bundleLibResDebug NO-SOURCE
[        ] > Task :path_provider_android:processDebugJavaRes NO-SOURCE
[  +98 ms] > Task :path_provider_android:bundleLibResDebug NO-SOURCE
[        ] > Task :share_plus:processDebugJavaRes NO-SOURCE
[        ] > Task :share_plus:bundleLibResDebug NO-SOURCE
[        ] > Task :sqflite:processDebugJavaRes NO-SOURCE
[        ] > Task :sqflite:bundleLibResDebug NO-SOURCE
[        ] > Task :url_launcher_android:processDebugJavaRes NO-SOURCE
[        ] > Task :url_launcher_android:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :sqflite:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :share_plus:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :package_info_plus:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :flutter_local_notifications:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :url_launcher_android:bundleLibRuntimeToJarDebug UP-TO-DATE
[        ] > Task :path_provider_android:bundleLibRuntimeToJarDebug UP-TO-DATE
[  +93 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_local_notifications:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_local_notifications:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :flutter_local_notifications:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :package_info_plus:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :path_provider_android:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :share_plus:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :share_plus:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :share_plus:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :sqflite:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :sqflite:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :sqflite:copyDebugJniLibsProjectOnly UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :url_launcher_android:copyDebugJniLibsProjectOnly UP-TO-DATE
[  +95 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:writeDebugAppMetadata UP-TO-DATE
[        ] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[        ] > Task :flutter_local_notifications:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :flutter_local_notifications:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :flutter_local_notifications:extractDebugAnnotations UP-TO-DATE
[        ] > Task :flutter_local_notifications:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :flutter_local_notifications:mergeDebugConsumerProguardFiles UP-TO-DATE
[   +1 ms] > Task :flutter_local_notifications:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :flutter_local_notifications:prepareLintJarForPublish UP-TO-DATE
[  +98 ms] > Task :flutter_local_notifications:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_local_notifications:syncDebugLibJars UP-TO-DATE
[        ] > Task :flutter_local_notifications:bundleDebugAar UP-TO-DATE
[        ] > Task :flutter_local_notifications:assembleDebug UP-TO-DATE
[        ] > Task :package_info_plus:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :package_info_plus:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :package_info_plus:extractDebugAnnotations UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :package_info_plus:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :package_info_plus:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :package_info_plus:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :package_info_plus:syncDebugLibJars UP-TO-DATE
[        ] > Task :package_info_plus:bundleDebugAar UP-TO-DATE
[        ] > Task :package_info_plus:assembleDebug UP-TO-DATE
[        ] > Task :path_provider_android:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :path_provider_android:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :path_provider_android:extractDebugAnnotations UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :path_provider_android:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :path_provider_android:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :path_provider_android:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :path_provider_android:syncDebugLibJars UP-TO-DATE
[        ] > Task :path_provider_android:bundleDebugAar UP-TO-DATE
[        ] > Task :path_provider_android:assembleDebug UP-TO-DATE
[        ] > Task :share_plus:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :share_plus:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :share_plus:extractDebugAnnotations UP-TO-DATE
[        ] > Task :share_plus:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :share_plus:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :share_plus:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :share_plus:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :share_plus:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :share_plus:syncDebugLibJars UP-TO-DATE
[        ] > Task :share_plus:bundleDebugAar UP-TO-DATE
[        ] > Task :share_plus:assembleDebug UP-TO-DATE
[        ] > Task :sqflite:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :sqflite:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[  +93 ms] > Task :sqflite:extractDebugAnnotations UP-TO-DATE
[        ] > Task :sqflite:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :sqflite:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :sqflite:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :sqflite:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :sqflite:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :sqflite:syncDebugLibJars UP-TO-DATE
[        ] > Task :sqflite:bundleDebugAar UP-TO-DATE
[        ] > Task :sqflite:assembleDebug UP-TO-DATE
[        ] > Task :url_launcher_android:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :url_launcher_android:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :url_launcher_android:extractDebugAnnotations UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :url_launcher_android:prepareDebugArtProfile UP-TO-DATE
[        ] > Task :url_launcher_android:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :url_launcher_android:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :url_launcher_android:syncDebugLibJars UP-TO-DATE
[        ] > Task :url_launcher_android:bundleDebugAar UP-TO-DATE
[        ] > Task :url_launcher_android:assembleDebug UP-TO-DATE
[ +597 ms] > Task :app:compressDebugAssets
[        ] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons:
[        ]   - Gradle detected a problem with the following location: '/home/florian/Projects/GITHO/githo/build/app/intermediates/assets/debug/mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this output of task
':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to
https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
[   +1 ms] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[+1387 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[        ] See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
[        ] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[        ] Please consult deprecation warnings for more details.
[        ] BUILD SUCCESSFUL in 5s
[        ] 191 actionable tasks: 5 executed, 186 up-to-date
[ +341 ms] Running Gradle task 'assembleDebug'... (completed in 6.0s)
[ +830 ms] calculateSha: LocalDirectory: '/home/florian/Projects/GITHO/githo/build/app/outputs/flutter-apk'/app.apk
[+1311 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /home/florian/Android/Sdk/build-tools/31.0.0-rc4/aapt dump xmltree /home/florian/Projects/GITHO/githo/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +8 ms] Exit code 0 from: /home/florian/Android/Sdk/build-tools/31.0.0-rc4/aapt dump xmltree /home/florian/Projects/GITHO/githo/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)0x8
               A: android:versionName(0x0101021c)="1.3.0" (Raw: "1.3.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.florianthaler.githo.debug" (Raw: "com.florianthaler.githo.debug")
               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)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.VIBRATE" (Raw: "android.permission.VIBRATE")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.USE_FULL_SCREEN_INTENT" (Raw: "android.permission.USE_FULL_SCREEN_INTENT")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.SCHEDULE_EXACT_ALARM" (Raw: "android.permission.SCHEDULE_EXACT_ALARM")
               E: application (line=20)
                 A: android:label(0x01010001)="Githo" (Raw: "Githo")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=25)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.florianthaler.githo.MainActivity" (Raw: "com.florianthaler.githo.MainActivity")
                   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=39)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=43)
                     E: action (line=44)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=46)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: provider (line=57)
                   A: android:name(0x01010003)="dev.fluttercommunity.plus.share.ShareFileProvider" (Raw: "dev.fluttercommunity.plus.share.ShareFileProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.florianthaler.githo.debug.flutter.share_provider" (Raw: "com.florianthaler.githo.debug.flutter.share_provider")
                   A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
                   E: meta-data (line=62)
                     A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
                     A: android:resource(0x01010025)=@0x7f0c0000
                 E: receiver (line=67)
                   A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: receiver (line=70)
                   A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   E: intent-filter (line=73)
                     E: action (line=74)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
                     E: action (line=75)
                       A: android:name(0x01010003)="android.intent.action.MY_PACKAGE_REPLACED" (Raw: "android.intent.action.MY_PACKAGE_REPLACED")
                     E: action (line=76)
                       A: android:name(0x01010003)="android.intent.action.QUICKBOOT_POWERON" (Raw: "android.intent.action.QUICKBOOT_POWERON")
                     E: action (line=77)
                       A: android:name(0x01010003)="com.htc.intent.action.QUICKBOOT_POWERON" (Raw: "com.htc.intent.action.QUICKBOOT_POWERON")
                 E: activity (line=81)
                   A: android:theme(0x01010000)=@0x01030007
                   A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: uses-library (line=86)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=89)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +1 ms] Stopping app 'app.apk' on SM G960F.
[        ] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell am force-stop com.florianthaler.githo.debug
[ +105 ms] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell pm list packages com.florianthaler.githo.debug
[ +103 ms] package:com.florianthaler.githo.debug
[   +2 ms] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell cat /data/local/tmp/sky.com.florianthaler.githo.debug.sha1
[  +50 ms] ff5c6dd2ef795b50db94720c9e7572028586c846
[   +1 ms] Latest build already installed.
[        ] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell -x logcat -v time -t 1
[ +121 ms] --------- beginning of main
                    02-24 08:58:52.169 I/libprocessgroup(  983): Successfully killed process cgroup uid 11538 pid 16601 in 231ms
[  +17 ms] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.florianthaler.githo.debug/com.florianthaler.githo.MainActivity
[  +67 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.florianthaler.githo.debug/com.florianthaler.githo.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +638 ms] Observatory URL on device: http://127.0.0.1:42155/Ux4-AHT6WPs=/
[   +1 ms] executing: /home/florian/Android/Sdk/platform-tools/adb -s 2ad0488111017ece forward tcp:0 tcp:42155
[   +9 ms] 35167
[        ] Forwarded host port 35167 to device port 42155 for Observatory
[  +10 ms] Caching compiled dill
[ +468 ms] Connecting to service protocol: http://127.0.0.1:35167/Ux4-AHT6WPs=/
[  +24 ms] I/flutter (19533): 
[        ] I/flutter (19533): ~~~~~~~~~~~~~~~~~~~~~~~~~~
[        ] I/flutter (19533): There's definitely nothing wrong. Ignore this message please!!
[        ] I/flutter (19533): ~~~~~~~~~~~~~~~~~~~~~~~~~~
[ +359 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:35167/Ux4-AHT6WPs=/.
[ +169 ms] DDS is listening at http://127.0.0.1:34785/BQef6d2x3Sg=/.
[  +63 ms] Successfully connected to service protocol: http://127.0.0.1:35167/Ux4-AHT6WPs=/
[  +70 ms] DevFS: Creating new filesystem on the device (null)
[  +34 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.florianthaler.githo.debug/code_cache/githoDKNNMS/githo/)
[   +2 ms] Updating assets
[ +112 ms] Syncing files to device SM G960F...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile file:///home/florian/Projects/GITHO/githo/.dart_tool/flutter_build/generated_main.dart 5d22dc75-71a1-44ba-924b-1c9c01f8fc6f
[        ] <- 5d22dc75-71a1-44ba-924b-1c9c01f8fc6f
[   +1 ms] Bundle processing done.
[ +448 ms] W/Gralloc3(19533): mapper 3.x is not supported
[        ] I/gralloc (19533): Arm Module v1.0
[  +45 ms] I/OpenGLRenderer(19533): doUpdatePositionAsync is called and callVoidMethod
[ +175 ms] Updating files.
[        ] DevFS: Sync finished
[   +3 ms] Syncing files to device SM G960F... (completed in 676ms)
[   +1 ms] Synced 0.0MB.
[   +2 ms] <- accept
[   +5 ms] Connected to _flutterView/0x6ffe004420.
[   +3 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on SM G960F is available at: http://127.0.0.1:34785/BQef6d2x3Sg=/
[   +2 ms] The Flutter DevTools debugger and profiler on SM G960F is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:34785/BQef6d2x3Sg=/




THIS IS WHERE I PERFORM THE BUG




[+19151 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 0
[  +95 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 1
[+1576 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 0
[  +70 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 1
[+4070 ms] I/ViewRootImpl@18f854[MainActivity](19533): MSG_WINDOW_FOCUS_CHANGED 0 1
[        ] D/InputMethodManager(19533): prepareNavigationBarInfo() DecorView@32ae9a8[MainActivity]
[        ] D/InputMethodManager(19533): getNavigationBarColor() -855310
[  +55 ms] D/InputTransport(19533): Input channel destroyed: 'ClientS', fd=92
[ +436 ms] I/SurfaceView(19533): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} of ViewRootImpl@18f854[MainActivity]
[  +14 ms] I/SurfaceView(19533): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076}
[        ] I/mali_egl(19533): eglDestroySurface() in
[        ] I/mali_winsys(19533): delete_surface() [1080x2076] return
[        ] I/mali_egl(19533): eglDestroySurface() out
[        ] W/libEGL  (19533): EGLNativeWindowType 0x6fefc06010 disconnect failed
[        ] I/SurfaceView(19533): remove() io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} Surface(name=SurfaceView -
com.florianthaler.githo.debug/com.florianthaler.githo.MainActivity@74c43fa@0)/@0xef8a420
[        ] I/mali_egl(19533): eglDestroySurface() in
[        ] I/mali_winsys(19533): delete_surface() [1080x2220] return
[        ] I/mali_egl(19533): eglDestroySurface() out
[        ] W/libEGL  (19533): EGLNativeWindowType 0x708cbd0ad0 disconnect failed
[        ] I/ViewRootImpl@18f854[MainActivity](19533): Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)8 dur=6 res=0x5 s={false 0} ch=true
[        ] I/ViewRootImpl@18f854[MainActivity](19533): stopped(true) old=false
[        ] I/SurfaceView(19533): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} of ViewRootImpl@18f854[MainActivity]
[+2688 ms] I/SurfaceView(19533): onWindowVisibilityChanged(4) false io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} of ViewRootImpl@18f854[MainActivity]
[  +11 ms] I/ViewRootImpl@18f854[MainActivity](19533): Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)4 dur=8 res=0x1 s={false 0} ch=false
[        ] I/ViewRootImpl@18f854[MainActivity](19533): stopped(false) old=true
[        ] I/SurfaceView(19533): windowStopped(false) false io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} of ViewRootImpl@18f854[MainActivity]
[        ] I/ViewRootImpl@18f854[MainActivity](19533): stopped(false) old=false
[   +5 ms] I/SurfaceView(19533): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076} of ViewRootImpl@18f854[MainActivity]
[   +8 ms] I/ViewRootImpl@18f854[MainActivity](19533): Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)0 dur=8 res=0x7 s={true 480762609664} ch=true
[        ] I/mali_winsys(19533): new_window_surface() [1080x2220] return: 0x3000
[   +1 ms] I/SurfaceView(19533): surfaceCreated 1 #8 io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076}
[        ] I/mali_winsys(19533): new_window_surface() [1080x2076] return: 0x3000
[   +1 ms] I/SurfaceView(19533): surfaceChanged (1080,2076) 1 #8 io.flutter.embedding.android.FlutterSurfaceView{74c43fa V.E...... ........ 0,0-1080,2076}
[   +1 ms] I/OpenGLRenderer(19533): doUpdatePositionAsync is called and callVoidMethod
[   +5 ms] I/ViewRootImpl@18f854[MainActivity](19533): MSG_WINDOW_FOCUS_CHANGED 1 1
[        ] D/InputMethodManager(19533): prepareNavigationBarInfo() DecorView@32ae9a8[MainActivity]
[        ] D/InputMethodManager(19533): getNavigationBarColor() -855310
[        ] D/InputMethodManager(19533): prepareNavigationBarInfo() DecorView@32ae9a8[MainActivity]
[        ] D/InputMethodManager(19533): getNavigationBarColor() -855310
[        ] V/InputMethodManager(19533): Starting input: tba=com.florianthaler.githo.debug ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[        ] D/InputMethodManager(19533): startInputInner - Id : 0
[        ] I/InputMethodManager(19533): startInputInner - mService.startInputOrWindowGainedFocus
[+2878 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 0
[  +35 ms] I/ViewRootImpl@18f854[MainActivity](19533): ViewPostIme pointer 1
$ flutter analyze

Analyzing githo...                                                      
No issues found! (ran in 3.5s)
$ flutter doctor -v

[✓] Flutter (Channel stable, 2.10.2, on Linux Mint 20.3 5.4.0-100-generic, locale en_GB.UTF-8)
    • Flutter version 2.10.2 at /home/florian/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (5 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 31.0.0-rc4)
    • Android SDK at /home/florian/Android/Sdk
    • Platform android-31, build-tools 31.0.0-rc4
    • Java binary at: /snap/android-studio/current/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.1)
    • Android Studio at /snap/android-studio/119/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.11+0-b60-7590822)

[✓] Android Studio
    • Android Studio at /snap/android-studio/current/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
    • android-studio-dir = /snap/android-studio/current/android-studio
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Connected device (2 available)
    • SM G960F (mobile) • 2ad0488111017ece • android-arm64 • Android 10 (API 29)
    • Linux (desktop)   • linux            • linux-x64     • Linux Mint 20.3 5.4.0-100-generic

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

! Doctor found issues in 1 category.

Screen capture:

MP4_20220224_092426.mp4

@maheshj01 maheshj01 added the in triage Presently being triaged by the triage team label Feb 25, 2022
@maheshj01
Copy link
Member

maheshj01 commented Feb 25, 2022

Hi @Glitchy-Tozier, Thanks for filing the issue. I ran your code sample when I clicked on list of habits I landed on a screen with no options. I would advise you to please create a new sample project and add your reproducible code sample in the new project, This will help us debug the issue.

@maheshj01 maheshj01 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 25, 2022
@maheshj01 maheshj01 changed the title AssetImage does not load after return to app & Navigator.push AssetImage does not load on pushing a route after moving app from background to foreground Feb 25, 2022
@Glitchy-Tozier
Copy link
Author

@maheshmnj Thank you for trying out the bug!

Am I correct in assuming this an iPhone-screenshot? If the answer is yes, please try out the bug on an android-device.
Peronally I use a Samsung Galaxy S9.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 25, 2022
@maheshj01
Copy link
Member

maheshj01 commented Feb 25, 2022

@Glitchy-Tozier running the app on android makes no difference when I click on list of habits there are no options I could go forward to as per your reproducible steps. Please check the project shared and ensure your reproducible steps are aligned with the project.

android.mov

@maheshj01 maheshj01 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 25, 2022
@Glitchy-Tozier
Copy link
Author

@maheshmnj

  • I re-tested on my device (both after wiping all data and after reinstalling the app and the buttons appeared (tested on a Samsung Galaxy S9 (Android 10)).
  • I also asked @patrickgold to do the same thing and he, too, automatically saw the two habits (the buttons). He tested on Huawei P9 lite (Android 6) and on a OnePlus (which presumably is Android 11, Oxygen OS).

Looking at my code, the blank screen indicates that the database never returns a value or somehow returns null, both of which should never happen.

Could it be that your testing-environment prohibits that the app create/use its own storage? The reason I'm asking is that at first install of the app, I create two entries in the app's database -> two buttons will be shown later on.
Thus, if the app for some reason is unable to create/use its own storage, no buttons will show up.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 25, 2022
@maheshj01
Copy link
Member

maheshj01 commented Feb 28, 2022

@Glitchy-Tozier I reinstalled the app and could see a list of habits but I was not able to reproduce the issue verified on on Redmi k20 pro (Android 11) and pixel 4a emulator (api 30). I did verify on mac and Linux systems too, but couldn't reproduce it the asset image always loads.

Screen.Recording.2022-02-28.at.11.22.33.AM.mov

Do you see this issue on any specific set of Android versions/ devices ? Also can you please confirm if this occurs in any specific build mode (debug/profile/release) or all modes?

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 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 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

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

• No issues found!
flutter doctor -v (Linux)
[✓] Flutter (Channel stable, 2.10.2, on Ubuntu 20.04.3 LTS 5.13.0-28-generic, locale en_GB.UTF-8)
    • Flutter version 2.10.2 at /home/mahesh/Development/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (9 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 31.0.0)
    • Android SDK at /home/mahesh/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/mahesh/Downloads/android-studio-2020.3.1.25-linux/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 google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/mahesh/Downloads/android-studio-2020.3.1.25-linux/android-studio
    • Flutter plugin version 63.2.1
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.63.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5556 • android-x86    • Android 11 (API 30) (emulator)
    • Linux (desktop)                    • linux         • linux-x64      • Ubuntu 20.04.3 LTS 5.13.0-28-generic
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 97.0.4692.99

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

• No issues found!

@maheshj01 maheshj01 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 28, 2022
@Glitchy-Tozier
Copy link
Author

Glitchy-Tozier commented Feb 28, 2022

I reinstalled the app and could see a list of habits but I was not able to reproduce the issue verified on on Redmi k20 pro (Android 11) and pixel 4a emulator (api 30).

  1. Good to hear that the habits showed up; I was getting really confused.
  2. Just to make sure: Did you change ExactAssetImage to AssetImage in widgets/background.dart?

Do you see this issue on any specific set of Android versions/ devices?

The tested devices are the following:

  • Samsung Galaxy S9 (Android 10)
  • Huawei P9 lite (Android 6)
  • OnePlus (Android 11, Oxygen OS).

It happened on all three of them, but I can't tell whether there's some common ground between them.

Also can you please confirm if this occurs in any specific build mode (debug/profile/release) or all modes?

It happens in debug (flutter run) and in the release-version (flutter buld apk → app-release.apk). That's the two versions I have used so far.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 28, 2022
@maheshj01
Copy link
Member

Just to make sure: Did you change ExactAssetImage to AssetImage in widgets/background.dart?

@Glitchy-Tozier Sorry I missed that part making that change I was able to reproduce the issue. But in order to investigate this issue further, you would need to narrow down the code sample and provide a minimal and complete sample code. You could do this by either creating a new project and adding the part of code that reproduces the issue or remove the unwanted part from your project that doesn't reproduce the issue.

Screen.Recording.2022-02-28.at.7.26.50.PM.mov
logs
Launching lib/main.dart on Redmi K20 Pro in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:56522/q53OCOGi3Y0=/ws
I/flutter (31166): ~~~~~~~~~~~~~~~~~~~~~~~~~~
I/flutter (31166): There's definitely nothing wrong. Ignore this message please!!
I/flutter (31166): ~~~~~~~~~~~~~~~~~~~~~~~~~~
I/ler.githo.debu(31166): ProcessProfilingInfo new_methods=1131 is saved saved_to_disk=1 resolve_classes_delay=8000
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28895307, downTime=28895307 } moveCount:0
W/MirrorManager(31166): this model don't Support
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28895356, downTime=28895307 } moveCount:4
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28895555, downTime=28895555 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28895630, downTime=28895555 } moveCount:6
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28895829, downTime=28895829 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28895904, downTime=28895829 } moveCount:6
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28896137, downTime=28896137 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28896212, downTime=28896137 } moveCount:6
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28920939, downTime=28920939 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28921021, downTime=28920939 } moveCount:7
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28921348, downTime=28921348 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28921431, downTime=28921348 } moveCount:6
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28922231, downTime=28922231 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28922296, downTime=28922231 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28924112, downTime=28924112 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28924178, downTime=28924112 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28925103, downTime=28925103 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28925152, downTime=28925103 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28928627, downTime=28928627 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28928684, downTime=28928627 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28930540, downTime=28930540 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28930757, downTime=28930540 } moveCount:19
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28932097, downTime=28932097 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28932198, downTime=28932097 } moveCount:8
D/MIUIInput(31166): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=28933581, downTime=28933581, deviceId=-1, source=0x101, displayId=0 }
D/MIUIInput(31166): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=28933638, downTime=28933581, deviceId=-1, source=0x101, displayId=0 }
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28936645, downTime=28936645 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28936704, downTime=28936645 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=28939728, downTime=28939728 } moveCount:0
D/MIUIInput(31166): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=28940765, downTime=28939728 } moveCount:67
flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 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 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

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

• No issues found!

@maheshj01 maheshj01 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 28, 2022
@Glitchy-Tozier
Copy link
Author

Glitchy-Tozier commented Feb 28, 2022

This is the most simplified version I can get: https://github.com/Glitchy-Tozier/Flutter-Debug-AssetImage. Actually, I think it might have an Idea about what's wrong. The Listview.build seems to be causing the problem. To test this hypothesis, go to habit_list.dart and replace this code

child: ListView.builder(
            physics: const BouncingScrollPhysics(),
            shrinkWrap: true,
            itemCount: list.length,
            itemBuilder: (BuildContext buildContex, int i) {
              return ElevatedButton(
                onPressed: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute<SingleHabitDisplay>(
                      builder: (BuildContext context) => SingleHabitDisplay(),
                    ),
                  );
                },
                child: Text(list[i].toString()),
              );
            },
          ),

with this code

child: ElevatedButton(
            onPressed: () {
              Navigator.push(
                context,
                MaterialPageRoute<SingleHabitDisplay>(
                  builder: (BuildContext context) => SingleHabitDisplay(),
                ),
              );
            },
            child: const Text('This should work'),
          ),

Instructions for reproducing:

  • Same as before, except I have already changed ExactAssetImage to AssetImage, meaning all you should need is flutter run)
  • As all database-action should now be gone, you should be able to use your emulator again.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 28, 2022
@maheshj01
Copy link
Member

maheshj01 commented Mar 1, 2022

Awesome @Glitchy-Tozier, I narrowed down your code sample further and I was able to reproduce the issue on stable 2.10.2 but not on the master channel So it looks like this has been fixed. You may verify it by switching to the master channel by running

flutter channel master
flutter upgrade

The fix should be available on the stable channel in the upcoming stable release.

stable Master
Screen.Recording.2022-03-01.at.12.07.05.PM.mov
Screen.Recording.2022-03-01.at.12.12.58.PM.mov
minimal code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

/// This widget is the root of the application.
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Githo - Get Into The Habit Of…',
      themeMode: ThemeMode.dark,
      home: HabitList(),
      debugShowCheckedModeBanner: false,
    );
  }
}

class HabitList extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Background(
        child: Center(
          // Turn Listview.builder into a regular Button and the bug disappears.

          // child: ElevatedButton(
          //   onPressed: () {
          //     Navigator.push(
          //       context,
          //       MaterialPageRoute<SingleHabitDisplay>(
          //         builder: (BuildContext context) => SingleHabitDisplay(),
          //       ),
          //     );
          //   },
          //   child: const Text('This should work'),
          // ),

          child: ListView.builder(
            physics: const BouncingScrollPhysics(),
            shrinkWrap: true,
            itemCount: 1,
            itemBuilder: (BuildContext buildContex, int i) {
              return ElevatedButton(
                onPressed: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute<SingleHabitDisplay>(
                      builder: (BuildContext context) => SingleHabitDisplay(),
                    ),
                  );
                },
                child: Text('tap me'),
              );
            },
          ),
        ),
      ),
    );
  }
}

class SingleHabitDisplay extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Background(
        child: Center(
          child: Text(
              'Bugged Screen!\nNotice that background image failed to load'),
        ),
      ),
    );
  }
}

class Background extends StatelessWidget {
  /// Returns a background and places the child in the foreground.
  const Background({
    this.child = const SizedBox(),
    Key? key,
  }) : super(key: key);

  final Widget child;

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Container(
          decoration: const BoxDecoration(
            image: DecorationImage(
              image: AssetImage('assets/b.png'),
              fit: BoxFit.fill,
            ),
          ),
        ),
        child,
      ],
    );
  }
}
flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 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 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

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

• No issues found!
[✓] Flutter (Channel master, 2.11.0-0.0.pre.681, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.681 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a288bd5e3f (2 hours ago), 2022-02-24 23:06:19 -0600
    • Engine revision 1012ac4b5a
    • Dart version 2.17.0 (build 2.17.0-141.0.dev)
    • DevTools version 2.11.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your
        plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 14F40EC6-3B73-469A-A1C0-8CF0B152290F • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52
      darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome
      98.0.4758.109

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

! Doctor found issues in 1 category.

Closing as this is fixed on the master channel. Incase you disagree fee free to write in the comments and we will reopen it.

Thank you.

Edit: The fix is also available on beta channel

[✓] Flutter (Channel beta, 2.11.0-0.1.pre, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.1.pre at /Users/mahesh/Documents/flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b101bfe32f (13 days ago), 2022-02-16 07:36:54 -0800
    • Engine revision e355993572
    • Dart version 2.17.0 (build 2.17.0-69.2.beta)
    • DevTools version 2.10.0-dev.1

@maheshj01 maheshj01 added r: fixed Issue is closed as already fixed in a newer version and removed in triage Presently being triaged by the triage team labels Mar 1, 2022
@Glitchy-Tozier
Copy link
Author

Good job, thank you! :)

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: fixed Issue is closed as already fixed in a newer version
Projects
None yet
Development

No branches or pull requests

2 participants