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

flutter build apk --analyze-size --target-platform android-arm fails with Exception: AOT snapshotter exited with code -2147483645 #97764

Closed
Ev1lT3rm1nal opened this issue Feb 4, 2022 · 22 comments
Labels
a: build Building flutter applications with the tool c: crash Stack traces logged to the console dependency: dart Dart team may need to help us platform-android Android applications specifically r: fixed Issue is closed as already fixed in a newer version t: gradle "flutter build" and "flutter run" on Android tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@Ev1lT3rm1nal
Copy link

Ev1lT3rm1nal commented Feb 4, 2022

When I run flutter build apk --analyze-size --target-platform android-arm I get:


Dart snapshot generator failed with exit code -2147483645


FAILURE: Build failed with an exception.

* Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 40s
flutter doctor -v
[√] Flutter (Channel stable, 2.10.0, on Microsoft Windows [Versión 10.0.22000.434], locale es-MX)
    • Flutter version 2.10.0 at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f105a6ca7 (2 days ago), 2022-02-01 14:15:42 -0800
    • Engine revision 776efd2034
    • Dart version 2.16.0
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at D:\Android\SDK
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = D:\Android\SDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.9)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32106.194
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.1
    • 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
Logs

flutter build apk --analyze-size --target-platform android-arm -v

[  +89 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H

[  +99 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] executing: [D:\flutter/] git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[  +65 ms] Exit code 0 from: git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] 2.10.0
[  +10 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [D:\flutter/] git ls-remote --get-url origin
[  +49 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +131 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[  +53 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +86 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.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' 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.
[  +75 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +118 ms] Skipping pub get: version match.
[  +54 ms] Found plugin firebase_auth at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-3.3.6\
[   +9 ms] Found plugin firebase_auth_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-3.3.7\
[   +2 ms] Found plugin firebase_core at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.12.0\
[   +3 ms] Found plugin firebase_core_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.5.4\
[   +7 ms] Found plugin flutter_secure_storage at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage-5.0.2\
[   +4 ms] Found plugin flutter_secure_storage_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_linux-1.1.0\
[   +3 ms] Found plugin flutter_secure_storage_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_macos-1.1.0\
[   +3 ms] Found plugin flutter_secure_storage_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_web-1.0.2\
[   +3 ms] Found plugin flutter_secure_storage_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_windows-1.1.2\
[  +24 ms] Found plugin path_provider at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.8\
[   +3 ms] Found plugin path_provider_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +3 ms] Found plugin path_provider_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[   +3 ms] Found plugin path_provider_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +1 ms] Found plugin path_provider_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +2 ms] Found plugin path_provider_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +9 ms] Found plugin sqflite at D:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.2\
[  +12 ms] Found plugin url_launcher at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.18\
[   +2 ms] Found plugin url_launcher_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_android-6.0.14\
[   +2 ms] Found plugin url_launcher_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_ios-6.0.14\
[   +2 ms] Found plugin url_launcher_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.3\
[   +3 ms] Found plugin url_launcher_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.3\
[   +2 ms] Found plugin url_launcher_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.6\
[   +2 ms] Found plugin url_launcher_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.2\
[ +101 ms] Found plugin firebase_auth at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-3.3.6\
[   +2 ms] Found plugin firebase_auth_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-3.3.7\
[   +1 ms] Found plugin firebase_core at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.12.0\
[   +2 ms] Found plugin firebase_core_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.5.4\
[   +6 ms] Found plugin flutter_secure_storage at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage-5.0.2\
[   +4 ms] Found plugin flutter_secure_storage_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_linux-1.1.0\
[   +1 ms] Found plugin flutter_secure_storage_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_macos-1.1.0\
[   +3 ms] Found plugin flutter_secure_storage_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_web-1.0.2\
[   +3 ms] Found plugin flutter_secure_storage_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_windows-1.1.2\
[  +13 ms] Found plugin path_provider at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.8\
[   +3 ms] Found plugin path_provider_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +1 ms] Found plugin path_provider_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[   +1 ms] Found plugin path_provider_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +3 ms] Found plugin path_provider_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +2 ms] Found plugin path_provider_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +9 ms] Found plugin sqflite at D:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.2\
[  +14 ms] Found plugin url_launcher at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.18\
[   +1 ms] Found plugin url_launcher_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_android-6.0.14\
[   +1 ms] Found plugin url_launcher_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_ios-6.0.14\
[   +3 ms] Found plugin url_launcher_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.3\
[   +1 ms] Found plugin url_launcher_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.3\
[   +3 ms] Found plugin url_launcher_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.6\
[   +2 ms] Found plugin url_launcher_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.2\
[  +23 ms] Generating D:\hackv\Documents\Flutter\mujeres_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +101 ms]  Building with sound null safety 
[  +22 ms] Running Gradle task 'assembleRelease'...
[   +7 ms] Using gradle from D:\hackv\Documents\Flutter\mujeres_app\android\gradlew.bat.
[   +6 ms] Building with Flutter multidex support enabled.
[   +8 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +152 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +2 ms] executing: [D:\hackv\Documents\Flutter\mujeres_app\android/] D:\hackv\Documents\Flutter\mujeres_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm -Ptarget=lib\main.dart
-Pmultidex-enabled=true -Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=true -Pcode-size-directory=build\flutter_size_12
assembleRelease
[+4929 ms] > Configure project :firebase_auth
[   +1 ms] WARNING: The option setting 'android.enableR8=true' is deprecated.
[   +1 ms] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[+2382 ms] > Task :app:compileFlutterBuildRelease
[   +1 ms] [  +72 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [  +90 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] [        ] executing: [D:\flutter/] git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] [  +66 ms] Exit code 0 from: git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] [        ] 2.10.0
[   +1 ms] [   +8 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [  +50 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[   +1 ms] [        ] executing: [D:\flutter/] git ls-remote --get-url origin
[        ] [  +46 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +52 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +55 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +60 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.
[        ] [  +96 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +85 ms] Initializing file store
[   +1 ms] [  +26 ms] Skipping target: gen_localizations
[        ] [  +15 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\package_config_subset}
[   +1 ms] [  +43 ms] Found plugin firebase_auth at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-3.3.6\
[        ] [   +5 ms] Found plugin firebase_auth_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-3.3.7\
[        ] [   +1 ms] Found plugin firebase_core at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.12.0\
[        ] [   +2 ms] Found plugin firebase_core_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-1.5.4\
[   +1 ms] [   +5 ms] Found plugin flutter_secure_storage at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage-5.0.2\
[   +1 ms] [   +1 ms] Found plugin flutter_secure_storage_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_linux-1.1.0\
[   +1 ms] [   +2 ms] Found plugin flutter_secure_storage_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_macos-1.1.0\
[        ] [   +2 ms] Found plugin flutter_secure_storage_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_web-1.0.2\
[   +1 ms] [   +1 ms] Found plugin flutter_secure_storage_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_secure_storage_windows-1.1.2\
[        ] [  +14 ms] Found plugin path_provider at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.8\
[        ] [   +1 ms] Found plugin path_provider_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.11\
[   +1 ms] [   +1 ms] Found plugin path_provider_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.7\
[        ] [   +1 ms] Found plugin path_provider_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +1 ms] [   +1 ms] Found plugin path_provider_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.5\
[   +1 ms] [   +2 ms] Found plugin path_provider_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[        ] [   +6 ms] Found plugin sqflite at D:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.2\
[   +1 ms] [   +7 ms] Found plugin url_launcher at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.18\
[        ] [   +1 ms] Found plugin url_launcher_android at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_android-6.0.14\
[        ] [        ] Found plugin url_launcher_ios at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_ios-6.0.14\
[        ] [   +1 ms] Found plugin url_launcher_linux at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.3\
[        ] [        ] Found plugin url_launcher_macos at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.3\
[        ] [   +1 ms] Found plugin url_launcher_web at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.6\
[        ] [        ] Found plugin url_launcher_windows at D:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.2\
[   +1 ms] [  +23 ms] gen_dart_plugin_registrant: Complete
[        ] [   +3 ms] kernel_snapshot: Starting due to {}
[        ] [  +14 ms] D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev D:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages
D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\package_config.json --output-dill D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\8ad1451e94816d1bbf60843428c2999a\app.dill --depfile
D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\8ad1451e94816d1bbf60843428c2999a\kernel_snapshot.d D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\generated_main.dart
[+18738 ms] [+19081 ms] kernel_snapshot: Complete
[ +886 ms] [ +916 ms] android_aot_release_android-arm: Starting due to {}
[   +1 ms] [   +4 ms] Extra gen_snapshot options: [--write-v8-snapshot-profile-to=build\flutter_size_12\snapshot.armeabi-v7a.json, --trace-precompiler-to=build\flutter_size_12\trace.armeabi-v7a.json]
[   +1 ms] [   +1 ms] executing: D:\flutter\bin\cache\artifacts\engine\android-arm-release\windows-x64\gen_snapshot --deterministic
--write-v8-snapshot-profile-to=build\flutter_size_12\snapshot.armeabi-v7a.json --trace-precompiler-to=build\flutter_size_12\trace.armeabi-v7a.json --snapshot_kind=app-aot-elf
--elf=D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\8ad1451e94816d1bbf60843428c2999a\armeabi-v7a\app.so --strip --no-sim-use-hardfp --no-use-integer-division
D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\8ad1451e94816d1bbf60843428c2999a\app.dill
[   +2 ms] [        ] aot_android_asset_bundle: Starting due to {}
[ +105 ms] [ +164 ms] Running command: D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev D:\flutter\bin\cache\artifacts\engine\windows-x64\const_finder.dart.snapshot --kernel-file
D:\hackv\Documents\Flutter\mujeres_app\.dart_tool\flutter_build\8ad1451e94816d1bbf60843428c2999a\app.dill --class-library-uri package:flutter/src/widgets/icon_data.dart --class-name IconData
[ +894 ms] [ +893 ms] Running font-subset: D:\flutter\bin\cache\artifacts\engine\windows-x64\font-subset.exe
D:\hackv\Documents\Flutter\mujeres_app\build\app\intermediates\flutter\release\flutter_assets\fonts/MaterialIcons-Regular.otf D:\flutter\bin\cache\artifacts\material_fonts\MaterialIcons-Regular.otf, using    
codepoints 58332 57490 57491 57706 58727 58372
[   +1 ms] [  +16 ms] aot_android_asset_bundle: Complete
[+9108 ms] [+9087 ms] Dart snapshot generator failed with exit code -2147483645
[   +3 ms] [   +3 ms] Persisting file store
[   +1 ms] [  +13 ms] Done persisting file store
[  +88 ms] [  +11 ms] Target android_aot_release_android-arm failed: Exception: AOT snapshotter exited with code -2147483645
[   +1 ms]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:257:7)
[   +1 ms]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:473:21)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
[        ]            <asynchronous suspension>
[        ]            #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +1 ms]            #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[   +1 ms]            #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +1 ms]            #14     main (package:flutter_tools/executable.dart:94:3)
[   +1 ms]            <asynchronous suspension>
[   +1 ms] [   +4 ms] 
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[   +1 ms] [  +10 ms] "flutter assemble" took 30,607ms.
[  +54 ms] [ +139 ms] ensureAnalyticsSent: 138ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[  +72 ms] > Task :app:compileFlutterBuildRelease FAILED
[   +1 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildRelease'.
[        ] > Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 37s
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[   +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[   +1 ms] 1 actionable task: 1 executed
[ +519 ms] Running Gradle task 'assembleRelease'... (completed in 38.1s)
[   +3 ms] "flutter apk" took 38,877ms.
[   +5 ms] Gradle task assembleRelease failed with exit code 1
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:400:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:112:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>
[ +140 ms] ensureAnalyticsSent: 133ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1
@Ev1lT3rm1nal Ev1lT3rm1nal added the team-infra Owned by Infrastructure team label Feb 4, 2022
@danagbemava-nc danagbemava-nc added in triage Presently being triaged by the triage team and removed team-infra Owned by Infrastructure team labels Feb 4, 2022
@danagbemava-nc
Copy link
Member

Hi @Ev1lT3rm1nal, does this issue occur with the counter app as well?

If it does not, please provide your pubspec.yaml and pubspec.lock as well as your build.gradle and android/app/build.gradle.

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 4, 2022
@Ev1lT3rm1nal
Copy link
Author

Hi @Ev1lT3rm1nal, does this issue occur with the counter app as well?

If it does not, please provide your pubspec.yaml and pubspec.lock as well as your build.gradle and android/app/build.gradle.

Yes, still failing with counter app

@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 4, 2022
@danagbemava-nc
Copy link
Member

Hi @Ev1lT3rm1nal, please provide the verbose log of the counter app with the command you run.

Thank you

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 7, 2022
@Ev1lT3rm1nal
Copy link
Author

@danagbemava-nc

Logs

[  +79 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +510 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 7868284a73425b297524ecfadcdf06cc324ecc2c
[   +1 ms] executing: [D:\flutter/] git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[  +72 ms] Exit code 0 from: git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[   +1 ms] executing: [D:\flutter/] git describe --match *.*.* --long --tags 7868284a73425b297524ecfadcdf06cc324ecc2c
[  +67 ms] Exit code 0 from: git describe --match *.*.* --long --tags 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] 2.10.0-0.0.pre-439-g7868284a73
[   +9 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [D:\flutter/] git ls-remote --get-url origin
[  +47 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +136 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[  +54 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +78 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.
[   +5 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.
[  +59 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +96 ms] Running "flutter pub get" in bug_test...
[   +4 ms] Using D:\flutter\.pub-cache for the pub cache.
[   +1 ms] executing: [D:\hackv\Documents\Flutter\bug_test/] D:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub
--verbose get --no-precompile
[ +100 ms] FINE: Pub 2.17.0-85.0.dev
[  +52 ms] MSG : Resolving dependencies...
[  +34 ms] SLVR: fact: bug_test is 1.0.0+1
[   +5 ms] SLVR: derived: bug_test
[  +29 ms] SLVR: fact: bug_test depends on flutter from sdk
[        ] SLVR: fact: bug_test depends on cupertino_icons ^1.0.2
[        ] SLVR: fact: bug_test depends on flutter_test from sdk
[   +1 ms] SLVR: fact: bug_test depends on flutter_lints ^1.0.0
[   +1 ms] SLVR:   selecting bug_test
[        ] SLVR:   derived: flutter_lints ^1.0.0
[        ] SLVR:   derived: flutter_test from sdk
[        ] SLVR:   derived: cupertino_icons ^1.0.2
[        ] SLVR:   derived: flutter from sdk
[  +17 ms] SLVR:   fact: flutter_lints 1.0.4 depends on lints ^1.0.0
[        ] SLVR:     selecting flutter_lints 1.0.4
[        ] SLVR:     derived: lints ^1.0.0
[   +6 ms] SLVR:     fact: flutter_test 0.0.0 from sdk depends on flutter from sdk
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on test_api 0.4.9
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on path 1.8.1
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on fake_async 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on clock 1.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.10.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on async 2.8.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on characters 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on charcode 1.3.1
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.11
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.1.4
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on meta 1.7.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on source_span 1.8.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on typed_data 1.3.0
[   +1 ms] SLVR:       selecting flutter_test 0.0.0 from sdk
[        ] SLVR:       derived: typed_data 1.3.0
[        ] SLVR:       derived: term_glyph 1.2.0
[        ] SLVR:       derived: string_scanner 1.1.0
[        ] SLVR:       derived: stream_channel 2.1.0
[        ] SLVR:       derived: source_span 1.8.2
[        ] SLVR:       derived: meta 1.7.0
[        ] SLVR:       derived: material_color_utilities 0.1.4
[        ] SLVR:       derived: matcher 0.12.11
[        ] SLVR:       derived: collection 1.15.0
[        ] SLVR:       derived: charcode 1.3.1
[        ] SLVR:       derived: characters 1.2.0
[        ] SLVR:       derived: boolean_selector 2.1.0
[        ] SLVR:       derived: async 2.8.2
[        ] SLVR:       derived: vector_math 2.1.2
[        ] SLVR:       derived: stack_trace 1.10.0
[        ] SLVR:       derived: clock 1.1.0
[        ] SLVR:       derived: fake_async 1.2.0
[        ] SLVR:       derived: path 1.8.1
[        ] SLVR:       derived: test_api 0.4.9
[        ] SLVR:         selecting cupertino_icons 1.0.4
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on characters 1.2.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.1.4
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on meta 1.7.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on typed_data 1.3.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on vector_math 2.1.2
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on sky_engine from sdk
[        ] SLVR:           selecting flutter 0.0.0 from sdk
[        ] SLVR:           derived: sky_engine from sdk
[        ] SLVR:             selecting lints 1.0.1
[        ] SLVR:             fact: typed_data 1.3.0 depends on collection ^1.15.0
[        ] SLVR:               selecting typed_data 1.3.0
[   +2 ms] SLVR:                 selecting term_glyph 1.2.0
[   +3 ms] SLVR:                 fact: string_scanner 1.1.0 depends on charcode ^1.2.0
[        ] SLVR:                 fact: string_scanner 1.1.0 depends on source_span ^1.8.0
[   +1 ms] SLVR:                   selecting string_scanner 1.1.0
[   +3 ms] SLVR:                   fact: stream_channel 2.1.0 depends on async ^2.5.0
[        ] SLVR:                     selecting stream_channel 2.1.0
[   +4 ms] SLVR:                     fact: source_span 1.8.2 depends on collection ^1.15.0
[   +1 ms] SLVR:                     fact: source_span 1.8.2 depends on path ^1.8.0
[   +1 ms] SLVR:                     fact: source_span 1.8.2 depends on term_glyph ^1.2.0
[        ] SLVR:                       selecting source_span 1.8.2
[   +1 ms] SLVR:                         selecting meta 1.7.0
[   +3 ms] SLVR:                           selecting material_color_utilities 0.1.4
[   +4 ms] SLVR:                           fact: matcher 0.12.11 depends on stack_trace ^1.10.0
[   +1 ms] SLVR:                             selecting matcher 0.12.11
[   +3 ms] SLVR:                               selecting collection 1.15.0
[   +2 ms] SLVR:                                 selecting charcode 1.3.1
[   +2 ms] SLVR:                                   selecting characters 1.2.0
[   +2 ms] SLVR:                                   fact: boolean_selector 2.1.0 depends on source_span ^1.8.0
[        ] SLVR:                                   fact: boolean_selector 2.1.0 depends on string_scanner ^1.1.0
[   +1 ms] SLVR:                                     selecting boolean_selector 2.1.0
[        ] SLVR:                                     fact: async 2.8.2 depends on collection ^1.15.0
[        ] SLVR:                                     fact: async 2.8.2 depends on meta ^1.1.7
[        ] SLVR:                                       selecting async 2.8.2
[   +1 ms] SLVR:                                         selecting vector_math 2.1.2
[   +2 ms] SLVR:                                         fact: stack_trace 1.10.0 depends on path ^1.8.0
[        ] SLVR:                                           selecting stack_trace 1.10.0
[   +1 ms] SLVR:                                             selecting clock 1.1.0
[   +2 ms] SLVR:                                             fact: fake_async 1.2.0 depends on clock ^1.1.0
[        ] SLVR:                                             fact: fake_async 1.2.0 depends on collection ^1.15.0
[        ] SLVR:                                               selecting fake_async 1.2.0
[   +1 ms] SLVR:                                                 selecting path 1.8.1
[   +3 ms] SLVR:                                                 fact: test_api 0.4.9 depends on async ^2.5.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on boolean_selector ^2.1.0
[   +1 ms] SLVR:                                                 fact: test_api 0.4.9 depends on collection ^1.15.0
[   +1 ms] SLVR:                                                 fact: test_api 0.4.9 depends on meta ^1.3.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on source_span ^1.8.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on stack_trace ^1.10.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on stream_channel ^2.1.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on string_scanner ^1.1.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on term_glyph ^1.2.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on matcher >=0.12.11
<0.12.12
[        ] SLVR:                                                   selecting test_api 0.4.9
[        ] SLVR:                                                     selecting sky_engine 0.0.99 from sdk
[ +163 ms] SLVR: Version solving took 0:00:00.332437 seconds.
[        ]     | Tried 1 solutions.
[        ] FINE: Resolving dependencies finished (0.365s).
[  +56 ms] IO  : Writing 3943 characters to text file pubspec.lock.
[        ] FINE: Contents:
[        ]     | # Generated by pub
[        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
[        ]     | packages:
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.8.2"
[        ]     |   boolean_selector:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   characters:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: characters
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   charcode:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: charcode
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.1"
[        ]     |   clock:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: clock
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   collection:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: collection
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.15.0"
[        ]     |   cupertino_icons:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: cupertino_icons
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "1.0.4"
[        ]     |   fake_async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: fake_async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   flutter:
[        ]     |     dependency: "direct main"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_lints:
[        ]     |     dependency: "direct dev"
[        ]     |     description:
[        ]     |       name: flutter_lints
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.4"
[        ]     |   flutter_test:
[        ]     |     dependency: "direct dev"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   lints:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: lints
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.1"
[        ]     |   matcher:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: matcher
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.11"
[        ]     |   material_color_utilities:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: material_color_utilities
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.1.4"
[        ]     |   meta:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: meta
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.7.0"
[        ]     |   path:
[   +1 ms]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.1"
[        ]     |   sky_engine:
[        ]     |     dependency: transitive
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.99"
[        ]     |   source_span:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: source_span
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.2"
[        ]     |   stack_trace:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stack_trace
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.10.0"
[        ]     |   stream_channel:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stream_channel
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: string_scanner
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: term_glyph
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   test_api:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: test_api
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.4.9"
[        ]     |   typed_data:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: typed_data
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.0"
[        ]     |   vector_math:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: vector_math
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.2"
[        ]     | sdks:
[        ]     |   dart: ">=2.16.0 <3.0.0"
[        ] IO  : Writing 2325 characters to text file .packages.
[        ] FINE: Contents:
[        ]     | # This file is deprecated. Tools should instead consume
[        ]     | # `.dart_tool/package_config.json`.
[        ]     | #
[        ]     | # For more info see: https://dart.dev/go/dot-packages-deprecation
[        ]     | #
[   +1 ms]     | # Generated by pub on 2022-02-07 15:17:59.698868.
[        ]     | async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
[        ]     | boolean_selector:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
[        ]     | characters:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/
[        ]     | charcode:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
[        ]     | clock:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
[        ]     | collection:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
[        ]     | cupertino_icons:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4/lib/
[   +1 ms] MSG : Got dependencies!
[        ]     | fake_async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
[        ]     | flutter:file:///D:/flutter/packages/flutter/lib/
[        ]     | flutter_lints:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
[        ]     | flutter_test:file:///D:/flutter/packages/flutter_test/lib/
[        ]     | lints:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
[        ]     | matcher:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
[        ]     |
material_color_utilities:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4/lib/
[        ]     | meta:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
[        ]     | path:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1/lib/
[        ]     | sky_engine:file:///D:/flutter/bin/cache/pkg/sky_engine/lib/
[        ]     | source_span:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2/lib/
[        ]     | stack_trace:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
[        ]     | stream_channel:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
[        ]     | string_scanner:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
[        ]     | term_glyph:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
[        ]     | test_api:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9/lib/
[        ]     | typed_data:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
[        ]     | vector_math:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2/lib/
[        ]     | bug_test:lib/
[        ] IO  : Writing 4998 characters to text file .dart_tool\package_config.json.
[        ] FINE: Contents:
[        ]     | {
[        ]     |   "configVersion": 2,
[        ]     |   "packages": [
[        ]     |     {
[        ]     |       "name": "async",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "characters",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "clock",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "collection",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "cupertino_icons",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "fake_async",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///D:/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_lints",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///D:/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "lints",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "matcher",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "material_color_utilities",
[        ]     |       "rootUri":
"file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.13"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "meta",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[   +1 ms]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///D:/flutter/bin/cache/pkg/sky_engine",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "source_span",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.14"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stack_trace",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stream_channel",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "term_glyph",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "test_api",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "typed_data",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.14"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "bug_test",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.16"
[        ]     |     }
[        ]     |   ],
[        ]     |   "generated": "2022-02-07T21:17:59.750873Z",
[        ]     |   "generator": "pub",
[        ]     |   "generatorVersion": "2.17.0-85.0.dev"
[        ]     | }
[        ] IO  : Writing 29534 characters to text file D:\flutter\.pub-cache\log\pub_log.txt.
[        ] MSG : Logs written to D:\flutter\.pub-cache\log\pub_log.txt.
[  +40 ms] Running "flutter pub get" in bug_test... (completed in 789ms)
[ +143 ms] Generating
D:\hackv\Documents\Flutter\bug_test\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +57 ms] 💪 Building with sound null safety 💪
[  +13 ms] Running Gradle task 'assembleRelease'...
[   +5 ms] Using gradle from D:\hackv\Documents\Flutter\bug_test\android\gradlew.bat.
[   +7 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +142 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +1 ms] executing: [D:\hackv\Documents\Flutter\bug_test\android/]
D:\hackv\Documents\Flutter\bug_test\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm
-Ptarget=lib\main.dart -Pbase-application-name=android.app.Application -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=true -Pcode-size-directory=build\flutter_size_02 assembleRelease
[+4355 ms] Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
[+12896 ms] > Task :app:compileFlutterBuildRelease
[   +1 ms] [  +66 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [ +489 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [        ] executing: [D:\flutter/] git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [  +64 ms] Exit code 0 from: git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [   +1 ms] executing: [D:\flutter/] git describe --match *.*.* --long --tags
7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [  +65 ms] Exit code 0 from: git describe --match *.*.* --long --tags
7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [        ] 2.10.0-0.0.pre-439-g7868284a73
[        ] [   +7 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +49 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [D:\flutter/] git ls-remote --get-url origin
[        ] [  +44 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +51 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +53 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +57 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.
[        ] [  +93 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +33 ms] Initializing file store
[        ] [  +25 ms] Skipping target: gen_localizations
[        ] [  +12 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following
inputs have updated contents: D:\hackv\Documents\Flutter\bug_test\.dart_tool\package_config_subset}
[        ] [  +43 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[        ] [  +10 ms] D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
D:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages
D:\hackv\Documents\Flutter\bug_test\.dart_tool\package_config.json --output-dill
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\2fafe28ec3312fde0145fe08325f4468\app.dill --depfile
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\2fafe28ec3312fde0145fe08325f4468\kernel_snapshot.d
package:bug_test/main.dart
[+10773 ms] [+10963 ms] kernel_snapshot: Complete
[ +498 ms] [ +501 ms] android_aot_release_android-arm: Starting due to {}
[        ] [   +4 ms] Extra gen_snapshot options:
[--write-v8-snapshot-profile-to=build\flutter_size_02\snapshot.armeabi-v7a.json,
--trace-precompiler-to=build\flutter_size_02\trace.armeabi-v7a.json]
[   +1 ms] [   +2 ms] executing: D:\flutter\bin\cache\artifacts\engine\android-arm-release\windows-x64\gen_snapshot
--deterministic --write-v8-snapshot-profile-to=build\flutter_size_02\snapshot.armeabi-v7a.json
--trace-precompiler-to=build\flutter_size_02\trace.armeabi-v7a.json --snapshot_kind=app-aot-elf
--elf=D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\2fafe28ec3312fde0145fe08325f4468\armeabi-v7a\app.so
--strip --no-sim-use-hardfp --no-use-integer-division
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\2fafe28ec3312fde0145fe08325f4468\app.dill
[   +1 ms] [        ] aot_android_asset_bundle: Starting due to {}
[  +90 ms] [ +122 ms] Running command: D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\flutter\bin\cache\artifacts\engine\windows-x64\const_finder.dart.snapshot --kernel-file
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\2fafe28ec3312fde0145fe08325f4468\app.dill
--class-library-uri package:flutter/src/widgets/icon_data.dart --class-name IconData
[ +601 ms] [ +582 ms] Running font-subset: D:\flutter\bin\cache\artifacts\engine\windows-x64\font-subset.exe
D:\hackv\Documents\Flutter\bug_test\build\app\intermediates\flutter\release\flutter_assets\fonts/MaterialIcons-Regular.o
tf D:\flutter\bin\cache\artifacts\material_fonts\MaterialIcons-Regular.otf, using codepoints 57415 58727 58332 57490
57491 57706
[   +1 ms] [  +14 ms] aot_android_asset_bundle: Complete
[+3500 ms] [+3507 ms] ../../third_party/dart/runtime\vm/hash_map.h: 144: error: expected: ++probes <
FLAG_hash_map_probes_limit
[ +596 ms] [ +536 ms] Dart snapshot generator failed with exit code -1073740791
[   +1 ms] [   +6 ms] Target android_aot_release_android-arm failed: Exception: AOT snapshotter exited with code
-1073740791
[   +1 ms]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:257:7)
[        ]            
[        ]            #1      _BuildInstance._invokeInternal
(package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            
[        ] [   +2 ms] Persisting file store
[        ] [   +7 ms] Done persisting file store
[        ]            #2      Future.wait. (dart:async/future.dart:473:21)
[        ]            
[        ]            #3      _BuildInstance.invokeTarget
(package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:320:32)
[        ]            
[        ]            #6      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1165:27)
[        ]            
[        ]            #7      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            
[        ]            #9      FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            
[        ]            #10     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #11     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            
[        ]            #12     run.. (package:flutter_tools/runner.dart:62:9)
[        ]            
[        ]            #13     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #14     main (package:flutter_tools/executable.dart:94:3)
[        ]            
[        ] [   +4 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:337:7)
[        ]            
[        ] [   +8 ms] "flutter assemble" took 16,509ms.
[        ]            #2      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1165:27)
[        ]            
[        ]            #3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            
[        ]            #5      FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
[        ]            
[        ]            #6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #7      FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
[        ]            
[        ]            #8      run.. (package:flutter_tools/runner.dart:62:9)
[        ]            
[        ]            #9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
[        ]            
[        ]            #10     main (package:flutter_tools/executable.dart:94:3)
[        ]            
[  +83 ms] [ +130 ms] ensureAnalyticsSent: 129ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[   +1 ms] [        ] exiting with code 1
[  +92 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] > Task :app:compileFlutterBuildRelease FAILED
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 1 actionable task: 1 executed
[        ] Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1148
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildRelease'.
[        ] > Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log
output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 33s
[ +602 ms] Running Gradle task 'assembleRelease'... (completed in 34.3s)
[   +3 ms] "flutter apk" took 35,549ms.
[   +5 ms] Gradle task assembleRelease failed with exit code 1
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:400:9)
           
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5)
           
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:109:5)
           
           #4      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1165:27)
           
           #5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
           
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           
           #7      FlutterCommandRunner.runCommand.
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           
           #8      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
           
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           
           #10     run.. (package:flutter_tools/runner.dart:62:9)
           
           #11     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)
           
           #12     main (package:flutter_tools/executable.dart:94:3)
           

[ +125 ms] ensureAnalyticsSent: 123ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 1

@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 7, 2022
@danagbemava-nc
Copy link
Member

Hi @Ev1lT3rm1nal, does the normal flutter build apk command work for you?

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 8, 2022
@Ev1lT3rm1nal
Copy link
Author

Hi @danagbemava-nc, it works well

Logs

[  +81 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +654 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] executing: [D:\flutter/] git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[  +63 ms] Exit code 0 from: git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[   +1 ms] executing: [D:\flutter/] git describe --match *.*.* --long --tags 7868284a73425b297524ecfadcdf06cc324ecc2c
[  +65 ms] Exit code 0 from: git describe --match *.*.* --long --tags 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] 2.10.0-0.0.pre-439-g7868284a73
[   +9 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [D:\flutter/] git ls-remote --get-url origin
[  +46 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +129 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[  +59 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[ +104 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.
[   +8 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.
[  +79 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[  +23 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +122 ms] Running "flutter pub get" in bug_test...
[   +4 ms] Using D:\flutter\.pub-cache for the pub cache.
[   +1 ms] executing: [D:\hackv\Documents\Flutter\bug_test/] D:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub
--verbose get --no-precompile
[ +105 ms] FINE: Pub 2.17.0-85.0.dev
[  +70 ms] MSG : Resolving dependencies...
[  +75 ms] SLVR: fact: bug_test is 1.0.0+1
[   +8 ms] SLVR: derived: bug_test
[  +39 ms] SLVR: fact: bug_test depends on flutter from sdk
[   +1 ms] SLVR: fact: bug_test depends on cupertino_icons ^1.0.2
[        ] SLVR: fact: bug_test depends on flutter_test from sdk
[        ] SLVR: fact: bug_test depends on flutter_lints ^1.0.0
[        ] SLVR:   selecting bug_test
[        ] SLVR:   derived: flutter_lints ^1.0.0
[        ] SLVR:   derived: flutter_test from sdk
[        ] SLVR:   derived: cupertino_icons ^1.0.2
[        ] SLVR:   derived: flutter from sdk
[ +208 ms] SLVR:   fact: flutter_lints 1.0.4 depends on lints ^1.0.0
[   +1 ms] SLVR:     selecting flutter_lints 1.0.4
[        ] SLVR:     derived: lints ^1.0.0
[   +5 ms] SLVR:     fact: flutter_test 0.0.0 from sdk depends on flutter from sdk
[   +1 ms] SLVR:     fact: flutter_test 0.0.0 from sdk depends on test_api 0.4.9
[   +1 ms] SLVR:     fact: flutter_test 0.0.0 from sdk depends on path 1.8.1
[   +1 ms] SLVR:     fact: flutter_test 0.0.0 from sdk depends on fake_async 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on clock 1.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.10.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on async 2.8.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on characters 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on charcode 1.3.1
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.11
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.1.4
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on meta 1.7.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on source_span 1.8.2
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.1.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.0
[        ] SLVR:     fact: flutter_test 0.0.0 from sdk depends on typed_data 1.3.0
[        ] SLVR:       selecting flutter_test 0.0.0 from sdk
[        ] SLVR:       derived: typed_data 1.3.0
[        ] SLVR:       derived: term_glyph 1.2.0
[        ] SLVR:       derived: string_scanner 1.1.0
[        ] SLVR:       derived: stream_channel 2.1.0
[        ] SLVR:       derived: source_span 1.8.2
[        ] SLVR:       derived: meta 1.7.0
[        ] SLVR:       derived: material_color_utilities 0.1.4
[        ] SLVR:       derived: matcher 0.12.11
[        ] SLVR:       derived: collection 1.15.0
[        ] SLVR:       derived: charcode 1.3.1
[        ] SLVR:       derived: characters 1.2.0
[        ] SLVR:       derived: boolean_selector 2.1.0
[        ] SLVR:       derived: async 2.8.2
[        ] SLVR:       derived: vector_math 2.1.2
[        ] SLVR:       derived: stack_trace 1.10.0
[        ] SLVR:       derived: clock 1.1.0
[        ] SLVR:       derived: fake_async 1.2.0
[        ] SLVR:       derived: path 1.8.1
[        ] SLVR:       derived: test_api 0.4.9
[        ] SLVR:         selecting cupertino_icons 1.0.4
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on characters 1.2.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.1.4
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on meta 1.7.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on typed_data 1.3.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on vector_math 2.1.2
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on sky_engine from sdk
[        ] SLVR:           selecting flutter 0.0.0 from sdk
[        ] SLVR:           derived: sky_engine from sdk
[  +47 ms] SLVR:             selecting lints 1.0.1
[   +4 ms] SLVR:             fact: typed_data 1.3.0 depends on collection ^1.15.0
[   +1 ms] SLVR:               selecting typed_data 1.3.0
[   +2 ms] SLVR:                 selecting term_glyph 1.2.0
[   +3 ms] SLVR:                 fact: string_scanner 1.1.0 depends on charcode ^1.2.0
[   +1 ms] SLVR:                 fact: string_scanner 1.1.0 depends on source_span ^1.8.0
[   +1 ms] SLVR:                   selecting string_scanner 1.1.0
[   +1 ms] SLVR:                   fact: stream_channel 2.1.0 depends on async ^2.5.0
[        ] SLVR:                     selecting stream_channel 2.1.0
[   +3 ms] SLVR:                     fact: source_span 1.8.2 depends on collection ^1.15.0
[   +1 ms] SLVR:                     fact: source_span 1.8.2 depends on path ^1.8.0
[        ] SLVR:                     fact: source_span 1.8.2 depends on term_glyph ^1.2.0
[        ] SLVR:                       selecting source_span 1.8.2
[        ] SLVR:                         selecting meta 1.7.0
[   +3 ms] SLVR:                           selecting material_color_utilities 0.1.4
[   +4 ms] SLVR:                           fact: matcher 0.12.11 depends on stack_trace ^1.10.0
[   +1 ms] SLVR:                             selecting matcher 0.12.11
[   +2 ms] SLVR:                               selecting collection 1.15.0
[   +3 ms] SLVR:                                 selecting charcode 1.3.1
[   +2 ms] SLVR:                                   selecting characters 1.2.0
[   +2 ms] SLVR:                                   fact: boolean_selector 2.1.0 depends on source_span ^1.8.0
[        ] SLVR:                                   fact: boolean_selector 2.1.0 depends on string_scanner ^1.1.0
[   +1 ms] SLVR:                                     selecting boolean_selector 2.1.0
[   +1 ms] SLVR:                                     fact: async 2.8.2 depends on collection ^1.15.0
[        ] SLVR:                                     fact: async 2.8.2 depends on meta ^1.1.7
[        ] SLVR:                                       selecting async 2.8.2
[   +1 ms] SLVR:                                         selecting vector_math 2.1.2
[   +2 ms] SLVR:                                         fact: stack_trace 1.10.0 depends on path ^1.8.0
[        ] SLVR:                                           selecting stack_trace 1.10.0
[   +1 ms] SLVR:                                             selecting clock 1.1.0
[   +2 ms] SLVR:                                             fact: fake_async 1.2.0 depends on clock ^1.1.0
[   +1 ms] SLVR:                                             fact: fake_async 1.2.0 depends on collection ^1.15.0
[        ] SLVR:                                               selecting fake_async 1.2.0
[        ] SLVR:                                                 selecting path 1.8.1
[   +3 ms] SLVR:                                                 fact: test_api 0.4.9 depends on async ^2.5.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on boolean_selector ^2.1.0
[   +1 ms] SLVR:                                                 fact: test_api 0.4.9 depends on collection ^1.15.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on meta ^1.3.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on source_span ^1.8.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on stack_trace ^1.10.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on stream_channel ^2.1.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on string_scanner ^1.1.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on term_glyph ^1.2.0
[        ] SLVR:                                                 fact: test_api 0.4.9 depends on matcher >=0.12.11
<0.12.12
[        ] SLVR:                                                   selecting test_api 0.4.9
[        ] SLVR:                                                     selecting sky_engine 0.0.99 from sdk
[ +226 ms] SLVR: Version solving took 0:00:00.644697 seconds.
[   +1 ms]     | Tried 1 solutions.
[   +1 ms] FINE: Resolving dependencies finished (0.719s).
[  +52 ms] IO  : Writing 3943 characters to text file pubspec.lock.
[   +1 ms] FINE: Contents:
[        ]     | # Generated by pub
[        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
[        ]     | packages:
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.8.2"
[        ]     |   boolean_selector:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   characters:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: characters
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   charcode:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: charcode
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.1"
[        ]     |   clock:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: clock
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   collection:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: collection
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.15.0"
[        ]     |   cupertino_icons:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: cupertino_icons
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.4"
[        ]     |   fake_async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: fake_async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   flutter:
[        ]     |     dependency: "direct main"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_lints:
[        ]     |     dependency: "direct dev"
[        ]     |     description:
[        ]     |       name: flutter_lints
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.4"
[        ]     |   flutter_test:
[        ]     |     dependency: "direct dev"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   lints:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: lints
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.1"
[        ]     |   matcher:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: matcher
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.11"
[        ]     |   material_color_utilities:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: material_color_utilities
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.1.4"
[        ]     |   meta:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: meta
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.7.0"
[        ]     |   path:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.1"
[        ]     |   sky_engine:
[        ]     |     dependency: transitive
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.99"
[        ]     |   source_span:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: source_span
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.2"
[        ]     |   stack_trace:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stack_trace
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.10.0"
[        ]     |   stream_channel:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: stream_channel
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: string_scanner
[        ]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: term_glyph
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   test_api:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: test_api
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.4.9"
[        ]     |   typed_data:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: typed_data
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.0"
[        ]     |   vector_math:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: vector_math
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.2"
[        ]     | sdks:
[        ]     |   dart: ">=2.16.0 <3.0.0"
[        ] IO  : Writing 2325 characters to text file .packages.
[        ] FINE: Contents:
[        ]     | # This file is deprecated. Tools should instead consume
[        ]     | # `.dart_tool/package_config.json`.
[        ]     | #
[        ]     | # For more info see: https://dart.dev/go/dot-packages-deprecation
[        ]     | #
[        ]     | # Generated by pub on 2022-02-08 14:53:56.897416.
[        ]     | async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
[        ]     | boolean_selector:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
[        ]     | characters:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/
[        ]     | charcode:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
[        ]     | clock:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
[        ]     | collection:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
[        ]     | cupertino_icons:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4/lib/
[        ]     | fake_async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
[   +1 ms] MSG : Got dependencies!
[        ]     | flutter:file:///D:/flutter/packages/flutter/lib/
[        ]     | flutter_lints:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
[        ]     | flutter_test:file:///D:/flutter/packages/flutter_test/lib/
[        ]     | lints:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
[        ]     | matcher:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
[        ]     |
material_color_utilities:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4/lib/
[   +1 ms]     | meta:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
[        ]     | path:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1/lib/
[        ]     | sky_engine:file:///D:/flutter/bin/cache/pkg/sky_engine/lib/
[        ]     | source_span:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2/lib/
[        ]     | stack_trace:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
[        ]     | stream_channel:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
[        ]     | string_scanner:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
[        ]     | term_glyph:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
[        ]     | test_api:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9/lib/
[        ]     | typed_data:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
[        ]     | vector_math:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2/lib/
[        ]     | bug_test:lib/
[        ] IO  : Writing 4998 characters to text file .dart_tool\package_config.json.
[        ] FINE: Contents:
[        ]     | {
[        ]     |   "configVersion": 2,
[        ]     |   "packages": [
[        ]     |     {
[        ]     |       "name": "async",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "characters",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "clock",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "collection",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "cupertino_icons",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "fake_async",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///D:/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_lints",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///D:/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "lints",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "matcher",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "material_color_utilities",
[        ]     |       "rootUri":
"file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.13"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "meta",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///D:/flutter/bin/cache/pkg/sky_engine",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "source_span",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.14"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stack_trace",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stream_channel",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "term_glyph",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "test_api",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.9",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "typed_data",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.14"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "bug_test",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.16"
[        ]     |     }
[        ]     |   ],
[        ]     |   "generated": "2022-02-08T20:53:56.936914Z",
[        ]     |   "generator": "pub",
[        ]     |   "generatorVersion": "2.17.0-85.0.dev"
[        ]     | }
[        ] IO  : Writing 29534 characters to text file D:\flutter\.pub-cache\log\pub_log.txt.
[   +5 ms] MSG : Logs written to D:\flutter\.pub-cache\log\pub_log.txt.
[  +57 ms] Running "flutter pub get" in bug_test... (completed in 1,193ms)
[ +128 ms] Generating
D:\hackv\Documents\Flutter\bug_test\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +153 ms] 💪 Building with sound null safety 💪
[  +35 ms] Running Gradle task 'assembleRelease'...
[   +6 ms] Using gradle from D:\hackv\Documents\Flutter\bug_test\android\gradlew.bat.
[   +7 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +140 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +1 ms] executing: [D:\hackv\Documents\Flutter\bug_test\android/]
D:\hackv\Documents\Flutter\bug_test\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib\main.dart
-Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=true assembleRelease
[+5965 ms] Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
[+22393 ms] > Task :app:compileFlutterBuildRelease
[   +1 ms] [  +79 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [ +712 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [        ] executing: [D:\flutter/] git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [  +66 ms] Exit code 0 from: git tag --points-at 7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [   +1 ms] executing: [D:\flutter/] git describe --match *.*.* --long --tags
7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [  +67 ms] Exit code 0 from: git describe --match *.*.* --long --tags
7868284a73425b297524ecfadcdf06cc324ecc2c
[        ] [        ] 2.10.0-0.0.pre-439-g7868284a73
[        ] [   +7 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +50 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [D:\flutter/] git ls-remote --get-url origin
[        ] [  +45 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +59 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +58 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +63 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.
[  +71 ms] [ +109 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +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.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +45 ms] Initializing file store
[  +97 ms] [  +46 ms] Skipping target: gen_localizations
[        ] [  +16 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following
inputs have updated contents: D:\hackv\Documents\Flutter\bug_test\.dart_tool\package_config_subset}
[        ] [  +48 ms] gen_dart_plugin_registrant: Complete
[        ] [   +2 ms] kernel_snapshot: Starting due to {}
[        ] [  +14 ms] D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
D:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa --packages
D:\hackv\Documents\Flutter\bug_test\.dart_tool\package_config.json --output-dill
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\app.dill --depfile
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\kernel_snapshot.d
package:bug_test/main.dart
[+13987 ms] [+13954 ms] kernel_snapshot: Complete
[ +601 ms] [ +626 ms] android_aot_release_android-arm: Starting due to {}
[   +1 ms] [   +7 ms] executing: D:\flutter\bin\cache\artifacts\engine\android-arm-release\windows-x64\gen_snapshot
--deterministic --snapshot_kind=app-aot-elf
--elf=D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\armeabi-v7a\app.so
--strip --no-sim-use-hardfp --no-use-integer-division
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\app.dill
[   +1 ms] [        ] aot_android_asset_bundle: Starting due to {}
[        ] [  +12 ms] android_aot_release_android-arm64: Starting due to {}
[        ] [   +1 ms] executing: D:\flutter\bin\cache\artifacts\engine\android-arm64-release\windows-x64\gen_snapshot
--deterministic --snapshot_kind=app-aot-elf
--elf=D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\arm64-v8a\app.so
--strip D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\app.dill
[   +1 ms] [        ] android_aot_release_android-x64: Starting due to {}
[        ] [        ] executing: D:\flutter\bin\cache\artifacts\engine\android-x64-release\windows-x64\gen_snapshot
--deterministic --snapshot_kind=app-aot-elf
--elf=D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\x86_64\app.so
--strip D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\app.dill
[+1098 ms] [+1015 ms] Running command: D:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\flutter\bin\cache\artifacts\engine\windows-x64\const_finder.dart.snapshot --kernel-file
D:\hackv\Documents\Flutter\bug_test\.dart_tool\flutter_build\49cf7f68be0a90ac3e879b3403b04636\app.dill
--class-library-uri package:flutter/src/widgets/icon_data.dart --class-name IconData
[+1001 ms] [+1064 ms] Running font-subset: D:\flutter\bin\cache\artifacts\engine\windows-x64\font-subset.exe
D:\hackv\Documents\Flutter\bug_test\build\app\intermediates\flutter\release\flutter_assets\fonts/MaterialIcons-Regular.o
tf D:\flutter\bin\cache\artifacts\material_fonts\MaterialIcons-Regular.otf, using codepoints 57415 58727 58332 57490
57491 57706
[ +190 ms] [ +166 ms] aot_android_asset_bundle: Complete
[+4499 ms] [+4462 ms] android_aot_release_android-arm: Complete
[ +301 ms] [ +325 ms] android_aot_bundle_release_android-arm: Starting due to {}
[        ] [  +31 ms] android_aot_bundle_release_android-arm: Complete
[ +207 ms] [ +206 ms] android_aot_release_android-arm64: Complete
[ +204 ms] [ +223 ms] android_aot_bundle_release_android-arm64: Starting due to {}
[        ] [   +6 ms] android_aot_bundle_release_android-arm64: Complete
[  +94 ms] [  +49 ms] android_aot_release_android-x64: Complete
[ +205 ms] [ +206 ms] android_aot_bundle_release_android-x64: Starting due to {}
[   +1 ms] [   +4 ms] android_aot_bundle_release_android-x64: Complete
[        ] [  +43 ms] _composite: Starting due to {}
[        ] [        ] _composite: Complete
[        ] [   +1 ms] Persisting file store
[  +91 ms] [  +32 ms] Done persisting file store
[   +1 ms] [   +7 ms] build succeeded.
[        ] [  +14 ms] "flutter assemble" took 22,779ms.
[  +93 ms] [ +128 ms] ensureAnalyticsSent: 124ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +896 ms] > Task :app:packLibsflutterBuildRelease
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:extractProguardFiles
[        ] > Task :app:preReleaseBuild
[        ] > Task :app:compileReleaseAidl NO-SOURCE
[        ] > Task :app:compileReleaseRenderscript NO-SOURCE
[ +106 ms] > Task :app:generateReleaseBuildConfig
[  +93 ms] > Task :app:cleanMergeReleaseAssets UP-TO-DATE
[        ] > Task :app:checkReleaseAarMetadata
[        ] > Task :app:mergeReleaseShaders
[        ] > Task :app:compileReleaseShaders NO-SOURCE
[        ] > Task :app:generateReleaseAssets UP-TO-DATE
[        ] > Task :app:mergeReleaseAssets
[  +92 ms] > Task :app:copyFlutterAssetsRelease
[        ] > Task :app:generateReleaseResValues
[        ] > Task :app:generateReleaseResources
[+1248 ms] > Task :app:createReleaseCompatibleScreenManifests
[  +22 ms] > Task :app:extractDeepLinksRelease
[ +230 ms] > Task :app:processReleaseMainManifest
[ +203 ms] > Task :app:mergeReleaseResources
[ +192 ms] > Task :app:processReleaseManifest
[        ] > Task :app:javaPreCompileRelease
[   +1 ms] > Task :app:buildKotlinToolingMetadata
[        ] > Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
[ +256 ms] > Task :app:compressReleaseAssets
[+1338 ms] > Task :app:processReleaseJavaRes NO-SOURCE
[        ] > Task :app:checkReleaseDuplicateClasses
[ +508 ms] > Task :app:collectReleaseDependencies
[  +93 ms] > Task :app:sdkReleaseDependencyData
[   +5 ms] > Task :app:mergeReleaseJniLibFolders
[ +101 ms] > Task :app:validateSigningRelease
[        ] > Task :app:processReleaseManifestForPackage
[ +894 ms] > Task :app:processReleaseResources
[ +896 ms] > Task :app:mergeReleaseNativeLibs
[+7900 ms] > Task :app:compileReleaseKotlin
[+1807 ms] > Task :app:compileReleaseJavaWithJavac
[        ] > Task :app:compileReleaseSources
[+11902 ms] > Task :app:lintVitalRelease
[        ] > Task :app:mergeReleaseGeneratedProguardFiles
[ +396 ms] > Task :app:stripReleaseDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libapp.so, libflutter.so.
[ +298 ms] > Task :app:mergeReleaseJavaResource
[+1996 ms] > Task :app:minifyReleaseWithR8
[   +8 ms] R8: Missing class: com.google.android.play.core.splitcompat.SplitCompatApplication
[        ] R8: Missing class: com.google.android.play.core.splitinstall.SplitInstallStateUpdatedListener
[+5290 ms] > Task :app:shrinkReleaseRes
[+1403 ms] > Task :app:packageRelease
[  +95 ms] > Task :app:assembleRelease
[ +108 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 1m 29s
[        ] 36 actionable tasks: 35 executed, 1 up-to-date
[ +556 ms] Running Gradle task 'assembleRelease'... (completed in 90.3s)
[  +57 ms] calculateSha: LocalDirectory: 'D:\hackv\Documents\Flutter\bug_test\build\app\outputs\flutter-apk'/app.apk
[ +245 ms] ✓  Built build\app\outputs\flutter-apk\app-release.apk (15.8MB).
[   +1 ms] "flutter apk" took 92,395ms.
[ +134 ms] ensureAnalyticsSent: 129ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

@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 8, 2022
@danagbemava-nc danagbemava-nc changed the title Cannot generate apk with --analyze flag Cannot generate apk with --analyze-size flag Feb 9, 2022
@danagbemava-nc danagbemava-nc changed the title Cannot generate apk with --analyze-size flag flutter build apk --analyze-size --target-platform android-arm fails with Exception: AOT snapshotter exited with code -2147483645 Feb 9, 2022
@danagbemava-nc
Copy link
Member

Labelling for further investigation.

@danagbemava-nc danagbemava-nc added a: build Building flutter applications with the tool dependency: dart Dart team may need to help us platform-android Android applications specifically c: crash Stack traces logged to the console t: gradle "flutter build" and "flutter run" on Android tool Affects the "flutter" command-line tool. See also t: labels. and removed in triage Presently being triaged by the triage team labels Feb 9, 2022
@OutdatedGuy
Copy link
Contributor

So is this fixed or what has happened? Any updates on this issue?

@Ev1lT3rm1nal
Copy link
Author

So is this fixed or what has happened? Any updates on this issue?

Nothing new, still waiting. If you need to build for arm only, downgrade flutter version to 2.8.1

@OutdatedGuy
Copy link
Contributor

OutdatedGuy commented Apr 2, 2022

I just found something new.
From flutter version 2.10.4 android-arm is being build successfully when --analyze-size is not passed.

For command, "flutter build apk --target-platform android-arm --analyze-size"
 Building with sound null safety 

Dart snapshot generator failed with exit code -2147483645


FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.      

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 26s
Running Gradle task 'assembleRelease'...                          207.8s
Gradle task assembleRelease failed with exit code 1
For command, "flutter build apk --target-platform android-arm"
 Building with sound null safety 

Parameter format not correct -
Running Gradle task 'assembleRelease'...                          316.2s
√  Built build\app\outputs\flutter-apk\app-release.apk (11.9MB).

I wasn't able to build android-arm apk before this no matter the arguments

@Ev1lT3rm1nal
Copy link
Author

I just found something new. From flutter version 2.10.4 android-arm is being build successfully when --analyze-size is not passed.

For command, "flutter build apk --target-platform android-arm --analyze-size"
For command, "flutter build apk --target-platform android-arm"
I wasn't able to build android-arm apk before this no matter the arguments

So I worked only the first build?

@OutdatedGuy
Copy link
Contributor

I just found something new. From flutter version 2.10.4 android-arm is being build successfully when --analyze-size is not passed.
For command, "flutter build apk --target-platform android-arm --analyze-size"
For command, "flutter build apk --target-platform android-arm"
I wasn't able to build android-arm apk before this no matter the arguments

So I worked only the first build?

What? Can you elaborate?

@blasten
Copy link

blasten commented May 10, 2022

Can you try re-running this command on the master channel with the --verbose flag?

@blasten blasten added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 10, 2022
@github-actions
Copy link

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution.

@OutdatedGuy
Copy link
Contributor

Flutter version: 3.0.1

Logs with the --verbose flag for both with and without --analyze-size flag

For command, "flutter build apk --target-platform android-arm --analyze-size --verbose"
[ +151 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +475 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] executing: [C:\flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[ +165 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] 3.0.1
[   +9 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +106 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +79 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +269 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +117 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +149 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.
[   +5 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.
[  +85 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +179 ms] Skipping pub get: version match.
[ +137 ms] Generating E:\Test Area\Flutter dummy\flutter_application_1\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +167 ms]  Building with sound null safety 
[  +40 ms] Running Gradle task 'assembleRelease'...
[  +16 ms] Using gradle from E:\Test Area\Flutter dummy\flutter_application_1\android\gradlew.bat.
[  +26 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +243 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +3 ms] executing: [E:\Test Area\Flutter dummy\flutter_application_1\android/] E:\Test Area\Flutter dummy\flutter_application_1\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-arm -Ptarget=lib\main.dart -Pbase-application-name=android.app.Application -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=true -Pcode-size-directory=build\flutter_size_02 assembleRelease
[+2207 ms] Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
[+16696 ms] Observed package id 'platform-tools' in inconsistent location 'C:\Users\Dell\AppData\Local\Android\sdk\platform-tools-2' (Expected
'C:\Users\Dell\AppData\Local\Android\sdk\platform-tools')
[+2898 ms] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
[+29997 ms] > Task :app:compileFlutterBuildRelease
[+3799 ms] ../../third_party/dart/runtime\vm/hash_map.h: 144: error: expected: ++probes < FLAG_hash_map_probes_limit
[   +5 ms] version=2.17.1 (stable) (Tue May 17 17:58:21 2022 +0000) on "windows_simarm"
[   +1 ms] pid=16964, thread=-1, isolate_group=isolate(01504B18), isolate=isolate(01508320)
[   +1 ms] isolate_instructions=0, vm_instructions=0
[   +3 ms]   pc 0x00be1da2 fp 0x012ff884 Unknown symbol
[   +3 ms]   pc 0x00af7d70 fp 0x012ff894 Unknown symbol
[   +2 ms]   pc 0x00c3f3d7 fp 0x012ff8d8 Unknown symbol
[   +1 ms]   pc 0x00b1ad51 fp 0x012ff908 Unknown symbol
[   +1 ms]   pc 0x00b371f0 fp 0x012ff928 Unknown symbol
[   +1 ms]   pc 0x00b1ee3e fp 0x012ff974 Unknown symbol
[   +1 ms]   pc 0x00b219b2 fp 0x012ffaa0 Unknown symbol
[   +1 ms]   pc 0x00b220c7 fp 0x012ffaac Unknown symbol
[   +1 ms]   pc 0x00dc0eca fp 0x012ffc18 Unknown symbol
[   +1 ms]   pc 0x00dc1a2d fp 0x012ffc88 Unknown symbol
[   +1 ms]   pc 0x00af226a fp 0x012ffd70 Unknown symbol
[   +1 ms]   pc 0x00dc3f9d fp 0x012ffdb8 Unknown symbol
[  +74 ms]   pc 0x76947ba9 fp 0x012ffdc8 BaseThreadInitThunk+0x19
[   +1 ms]   pc 0x77dab7db fp 0x012ffe20 RtlInitializeExceptionChain+0x6b
[   +1 ms]   pc 0x77dab75f fp 0x012ffe30 RtlClearBits+0xbf
[   +1 ms] -- End of DumpStackTrace
[+5497 ms] Dart snapshot generator failed with exit code -1073740791
[ +507 ms] > Task :app:compileFlutterBuildRelease FAILED
[   +2 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[   +2 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.  
[   +2 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[   +2 ms] 2 actionable tasks: 1 executed, 1 up-to-date
[   +5 ms] FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[   +1 ms] Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156
[   +2 ms] * What went wrong:
[   +1 ms] Execution failed for task ':app:compileFlutterBuildRelease'.
[   +1 ms] > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[   +1 ms] * Try:
[   +1 ms] > Run with --stacktrace option to get the stack trace.
[   +3 ms] > Run with --info or --debug option to get more log output.
[   +1 ms] > Run with --scan to get full insights.
[   +2 ms] * Get more help at https://help.gradle.org
[   +2 ms] BUILD FAILED in 1m 1s
[ +860 ms] Running Gradle task 'assembleRelease'... (completed in 62.9s)
[   +6 ms] "flutter apk" took 63,576ms.
[   +7 ms] Gradle task assembleRelease failed with exit code 1
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:406:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:184:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:109:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>


[ +256 ms] ensureAnalyticsSent: 251ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1
For command, "flutter build apk --target-platform android-arm --verbose"
[  +73 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +337 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[   +1 ms] executing: [C:\flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[ +144 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] 3.0.1
[   +9 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +72 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +60 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +136 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +73 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +92 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.
[  +64 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +121 ms] Skipping pub get: version match.
[ +128 ms] Generating E:\Test Area\Flutter dummy\flutter_application_1\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +177 ms]  Building with sound null safety 
[  +25 ms] Running Gradle task 'assembleRelease'...
[   +7 ms] Using gradle from E:\Test Area\Flutter dummy\flutter_application_1\android\gradlew.bat.
[   +8 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +178 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +2 ms] executing: [E:\Test Area\Flutter dummy\flutter_application_1\android/] E:\Test Area\Flutter dummy\flutter_application_1\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-arm -Ptarget=lib\main.dart -Pbase-application-name=android.app.Application -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=true assembleRelease
[+2874 ms] > Task :app:buildKotlinToolingMetadata UP-TO-DATE
[+3590 ms] > Task :app:compileFlutterBuildRelease
[   +1 ms] Parameter format not correct -
[   +1 ms] > Task :app:packLibsflutterBuildRelease UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preReleaseBuild UP-TO-DATE
[   +1 ms] > Task :app:compileReleaseAidl NO-SOURCE
[   +1 ms] > Task :app:compileReleaseRenderscript NO-SOURCE
[   +1 ms] > Task :app:generateReleaseBuildConfig UP-TO-DATE
[ +283 ms] > Task :app:checkReleaseAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:cleanMergeReleaseAssets
[   +1 ms] > Task :app:mergeReleaseShaders UP-TO-DATE
[   +2 ms] > Task :app:compileReleaseShaders NO-SOURCE
[   +1 ms] > Task :app:generateReleaseAssets UP-TO-DATE
[  +97 ms] > Task :app:mergeReleaseAssets
[  +94 ms] > Task :app:copyFlutterAssetsRelease
[   +1 ms] > Task :app:generateReleaseResValues UP-TO-DATE
[        ] > Task :app:generateReleaseResources UP-TO-DATE
[ +100 ms] > Task :app:mergeReleaseResources UP-TO-DATE
[   +2 ms] > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
[   +1 ms] > Task :app:extractDeepLinksRelease UP-TO-DATE
[ +101 ms] > Task :app:processReleaseMainManifest UP-TO-DATE
[   +1 ms] > Task :app:processReleaseManifest UP-TO-DATE
[   +5 ms] > Task :app:processReleaseManifestForPackage UP-TO-DATE
[ +101 ms] > Task :app:processReleaseResources UP-TO-DATE
[+1090 ms] > Task :app:compileReleaseKotlin UP-TO-DATE
[   +1 ms] > Task :app:javaPreCompileRelease UP-TO-DATE
[        ] > Task :app:writeReleaseApplicationId UP-TO-DATE
[        ] > Task :app:analyticsRecordingRelease
[   +1 ms] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
[   +1 ms] > Task :app:extractProguardFiles UP-TO-DATE
[ +207 ms] > Task :app:lintVitalAnalyzeRelease UP-TO-DATE
[   +1 ms] > Task :app:lintVitalReportRelease UP-TO-DATE
[   +1 ms] > Task :app:lintVitalRelease
[   +1 ms] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
[  +90 ms] > Task :app:mergeReleaseNativeLibs UP-TO-DATE
[   +6 ms] > Task :app:stripReleaseDebugSymbols UP-TO-DATE
[   +4 ms] > Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
[   +4 ms] > Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
[  +97 ms] > Task :app:mergeReleaseArtProfile UP-TO-DATE
[  +74 ms] > Task :app:checkReleaseDuplicateClasses UP-TO-DATE
[ +103 ms] > Task :app:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[   +1 ms] > Task :app:processReleaseJavaRes NO-SOURCE
[   +1 ms] > Task :app:mergeReleaseJavaResource UP-TO-DATE
[ +196 ms] > Task :app:minifyReleaseWithR8 UP-TO-DATE
[   +1 ms] > Task :app:compileReleaseArtProfile UP-TO-DATE
[   +1 ms] > Task :app:processApplicationManifestReleaseForBundle UP-TO-DATE
[   +1 ms] > Task :app:bundleReleaseResources UP-TO-DATE
[   +1 ms] > Task :app:shrinkReleaseRes UP-TO-DATE
[   +3 ms] > Task :app:optimizeReleaseResources UP-TO-DATE
[   +2 ms] > Task :app:collectReleaseDependencies UP-TO-DATE
[   +4 ms] > Task :app:compressReleaseAssets
[   +3 ms] Execution optimizations have been disabled for task ':app:compressReleaseAssets' to ensure correctness due to the following reasons:       
[   +1 ms]   - Gradle detected a problem with the following location: 'E:\Test Area\Flutter
dummy\flutter_application_1\build\app\intermediates\assets\release\mergeReleaseAssets'. Reason: Task ':app:compressReleaseAssets' uses this output of 
task ':app:copyFlutterAssetsRelease' 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.4/userguide/validation_problems.html#implicit_dependency for
more details about this problem.
[  +76 ms] > Task :app:sdkReleaseDependencyData UP-TO-DATE
[   +3 ms] > Task :app:validateSigningRelease UP-TO-DATE
[   +2 ms] > Task :app:writeReleaseAppMetadata UP-TO-DATE
[   +2 ms] > Task :app:writeReleaseSigningConfigVersions UP-TO-DATE
[   +9 ms] > Task :app:packageRelease UP-TO-DATE
[  +29 ms] > Task :app:createReleaseApkListingFileRedirect UP-TO-DATE
[ +257 ms] > Task :app:assembleRelease
[  +90 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[   +1 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.  
[   +2 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[   +3 ms] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[   +1 ms] Please consult deprecation warnings for more details.
[   +4 ms] BUILD SUCCESSFUL in 9s
[   +3 ms] 49 actionable tasks: 8 executed, 41 up-to-date
[ +568 ms] Running Gradle task 'assembleRelease'... (completed in 10.4s)
[  +21 ms] calculateSha: LocalDirectory: 'E:\Test Area\Flutter dummy\flutter_application_1\build\app\outputs\flutter-apk'/app.apk
[  +79 ms] √  Built build\app\outputs\flutter-apk\app-release.apk (5.3MB).
[   +3 ms] "flutter apk" took 11,099ms.
[  +85 ms] ensureAnalyticsSent: 80ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

I wasn't able to build android-arm apk with the --analyze-size flag

@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.

@huycozy
Copy link
Member

huycozy commented Jun 15, 2022

Closed duplicate issue #105980 and reopen this issue for further investigation.

@OutdatedGuy
I see one hint here #102369 (comment), can you try tracking dart/flutter process in Task Manager (Windows) to identify whether it takes up too many resources (memory) or not?

@mraleph
Copy link
Member

mraleph commented Jun 15, 2022

This will be impossible to debug without a reproduction or more informative stack trace from the crash.

@OutdatedGuy
Copy link
Contributor

This will be impossible to debug without a reproduction or more informative stack trace from the crash.

It's very easy to reproduce. The error is also thrown for the default counter app. Just have to build it for android-arm (32-bit) with the --analyze-size flag and it crashes.

@mraleph
Copy link
Member

mraleph commented Jul 6, 2022

Thanks. Confirmed the bug - it only manifests on Windows, which is why we missed it for so long.

Fix is on the way: https://dart-review.googlesource.com/c/sdk/+/250741

copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Jul 6, 2022
FinalizeHash(hash) was trying to avoid UB in expression 1 << 32
by casting 1 to uintptr_t. This type however is not wide enough
on 32-bit platforms.

Instead just use explicit comparison hashbits < kBitsPerInt32 to
avoid overflow in left shift.

This bug went unnoticed for a while because it the only place
where we call FinalizeHash(hash) is in the snapshot profile
writer code and it only triggers when gen_snapshot is a
32-bit binary - which is only true on Windows, as Mac and Linux
seem to use simarm_x64 configuration instead.

This UB was explicitly affecting the code behavior because C++
compiler would either optimize out or change behavior of any
code that consumed value produced by FinalizeHash(hash).

Fixes flutter/flutter#97764

TEST=vm/cc/DirectChainedHashMap

Change-Id: I39f2b09e7516c875b765e5a065d1c1331f89fa33
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250741
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
@mraleph
Copy link
Member

mraleph commented Jul 6, 2022

This should be fixed once Dart rolls into Flutter.

@mraleph mraleph closed this as completed Jul 6, 2022
@danagbemava-nc danagbemava-nc added r: fixed Issue is closed as already fixed in a newer version and removed waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Jul 6, 2022
@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 Jul 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: build Building flutter applications with the tool c: crash Stack traces logged to the console dependency: dart Dart team may need to help us platform-android Android applications specifically r: fixed Issue is closed as already fixed in a newer version t: gradle "flutter build" and "flutter run" on Android tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests

6 participants