-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Description
Summary
Since updating from flutter 2.0.6 to flutter 2.2.0 we can no longer build release builds on either Android or iOS. Debug and release builds continue to work fine on flutter 2.0.6 and debug builds continue work fine on 2.2.0.
Please note, we are building the --no-sound-null-safety. Build commands and full logs in logs section below.
Error on Android
Invalid argument(s): Missing canonical name for Reference to _Experimental
#0 BinaryPrinter.writeNonNullReference (package:kernel/binary/ast_to_binary.dart:904:9)
#1 BinaryPrinter.visitInterfaceType (package:kernel/binary/ast_to_binary.dart:2285:7)
#2 InterfaceType.accept (package:kernel/ast.dart:10728:42)
#3 BinaryPrinter.writeDartType (package:kernel/binary/ast_to_binary.dart:273:10)
#4 BinaryPrinter.visitConstantExpression (package:kernel/binary/ast_to_binary.dart:2070:5)
#5 ConstantExpression.accept (package:kernel/ast.dart:8156:44)
#6 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:394:10)
#7 BinaryPrinter.writeAnnotation (package:kernel/binary/ast_to_binary.dart:1138:5)
#8 BinaryPrinter.writeAnnotationList (package:kernel/binary/ast_to_binary.dart:1146:7)
#9 BinaryPrinter.visitExtension (package:kernel/binary/ast_to_binary.dart:2427:5)
#10 Extension.accept (package:kernel/ast.dart:1485:38)
#11 BinaryPrinter.writeExtensionNode (package:kernel/binary/ast_to_binary.dart:443:10)
#12 BinaryPrinter.writeExtensionNodeList (package:kernel/binary/ast_to_binary.dart:340:7)
#13 BinaryPrinter.visitLibrary (package:kernel/binary/ast_to_binary.dart:1020:5)
#14 Library.accept (package:kernel/ast.dart:507:38)
#15 BinaryPrinter.writeLibraryNode (package:kernel/binary/ast_to_binary.dart:415:10)
#16 BinaryPrinter.writeLibraries (package:kernel/binary/ast_to_binary.dart:724:9)
#17 BinaryPrinter.writeComponentFile.<anonymous closure> (package:kernel/binary/ast_to_binary.dart:567:7)
#18 Timeline.timeSync (dart:developer/timeline.dart:163:22)
#19 BinaryPrinter.writeComponentFile (package:kernel/binary/ast_to_binary.dart:549:14)
#20 FrontendCompiler.writeDillFile (package:frontend_server/frontend_server.dart:676:13)
#21 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:552:13)
<asynchronous suspension>
#22 starter (package:flutter_frontend_server/server.dart:180:12)
<asynchronous suspension>
#23 main (file:///opt/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)
Error on iOS
Xcode's output:
↳
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:receive_sharing_intent
- package:amplify_auth_cognito
- package:amplify_flutter
- package:amplify_auth_plugin_interface
- package:amplify_core
- package:amplify_storage_plugin_interface
- package:amplify_analytics_plugin_interface
- package:amplify_datastore_plugin_interface
- package:amplify_api_plugin_interface
- package:date_time_format
For solutions, see https://dart.dev/go/unsound-null-safety
Context
Our app is build with Dart 2.12.
Our app code is all written with null safety, almost all dependencies are null safe with the most notable exceptions being:
amplify_auth_cognito: ^0.1.5
amplify_core: ^0.1.5
amplify_flutter: ^0.1.5We have a multi-module repo with the following structure:
project-root
- app (flutter application)
- core (flutter package)The app module depends on core.
The app is closed source, so I am unable to share the repository full repository here. Happy to give access to the code privately to assist with debugging.
Steps to Reproduce
Upgrade from flutter 2.0.6 to 2.2.0.
Logs
Logs
Android
Build command
flutter build appbundle --release --flavor prod --no-sound-null-safety --verbose
Logs
[ +148 ms] executing: sysctl hw.optional.arm64
[ +37 ms] Exit code 0 from: sysctl hw.optional.arm64
[ +3 ms] hw.optional.arm64: 1
[ +7 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ +1 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ +72 ms] Exit code 0 from: git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ ] 2.2.0
[ +7 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git rev-parse --abbrev-ref --symbolic @{u}
[ +9 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] fatal: HEAD does not point to a branch
[ +85 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git rev-parse --abbrev-ref HEAD
[ +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] HEAD
[ +68 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 '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.
[ +52 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of '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.
[ +72 ms] Skipping pub get: version match.
[ +27 ms] Found plugin receive_sharing_intent at /Users/kelvin/.pub-cache/git/receive_sharing_intent-dffc590544bbddee3f43ee21179dd6a107d4e74d/
[ +9 ms] Found plugin amplify_auth_cognito at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_auth_cognito-0.1.5/
[ +2 ms] Found plugin amplify_core at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_core-0.1.5/
[ +2 ms] Found plugin amplify_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_flutter-0.1.5/
[ +3 ms] Found plugin amplitude_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-3.1.0/
[ +2 ms] Found plugin application_icon at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/application_icon-2.0.0/
[ +29 ms] Found plugin device_info at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.1/
[ +5 ms] Found plugin file_picker at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/file_picker-3.0.2/
[ +2 ms] Found plugin firebase_core at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.2.0/
[ +2 ms] Found plugin firebase_core_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[ +2 ms] Found plugin firebase_messaging at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-10.0.0/
[ +2 ms] Found plugin firebase_messaging_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.0.0/
[ +1 ms] Found plugin flutter_genius_scan at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_genius_scan-4.0.8/
[ +1 ms] Found plugin flutter_inappwebview at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.2/
[ +1 ms] Found plugin flutter_secure_storage at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-4.2.0/
[ +12 ms] Found plugin image_picker at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.5+3/
[ ] Found plugin image_picker_for_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.0.0/
[ +1 ms] Found plugin intercom_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/intercom_flutter-3.2.0/
[ +8 ms] Found plugin local_auth at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.5/
[ +2 ms] Found plugin native_pdf_renderer at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/native_pdf_renderer-3.0.0/
[ +2 ms] Found plugin package_info at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.1/
[ ] Found plugin package_info_plus at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.0.1/
[ +1 ms] Found plugin package_info_plus_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.1.1/
[ ] Found plugin package_info_plus_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.1/
[ +2 ms] Found plugin path_provider at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.2/
[ ] Found plugin path_provider_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0/
[ ] Found plugin path_provider_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0/
[ ] Found plugin path_provider_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.1/
[ +9 ms] Found plugin sentry_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-5.0.0/
[ ] Found plugin share at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/share-2.0.2/
[ ] Found plugin shared_preferences at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.6/
[ ] Found plugin shared_preferences_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.0/
[ ] Found plugin shared_preferences_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.0/
[ ] Found plugin shared_preferences_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.0/
[ ] Found plugin shared_preferences_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.0/
[ +16 ms] Found plugin uni_links2 at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/uni_links2-0.6.0+2/
[ +2 ms] Found plugin uni_links_web2 at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/uni_links_web2-0.1.0+2/
[ ] Found plugin url_launcher at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.4/
[ ] Found plugin url_launcher_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.0/
[ ] Found plugin url_launcher_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.0/
[ +1 ms] Found plugin url_launcher_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.0/
[ ] Found plugin url_launcher_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.0/
[ +1 ms] Found plugin wakelock at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock-0.5.2/
[ ] Found plugin wakelock_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock_macos-0.1.0+1/
[ +1 ms] Found plugin wakelock_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock_web-0.2.0+1/
[ +2 ms] Found plugin webview_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/webview_flutter-2.0.7/
[ +118 ms] Found plugin receive_sharing_intent at /Users/kelvin/.pub-cache/git/receive_sharing_intent-dffc590544bbddee3f43ee21179dd6a107d4e74d/
[ +3 ms] Found plugin amplify_auth_cognito at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_auth_cognito-0.1.5/
[ ] Found plugin amplify_core at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_core-0.1.5/
[ ] Found plugin amplify_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplify_flutter-0.1.5/
[ ] Found plugin amplitude_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-3.1.0/
[ ] Found plugin application_icon at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/application_icon-2.0.0/
[ +6 ms] Found plugin device_info at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.1/
[ +3 ms] Found plugin file_picker at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/file_picker-3.0.2/
[ ] Found plugin firebase_core at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.2.0/
[ ] Found plugin firebase_core_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.1.0/
[ ] Found plugin firebase_messaging at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-10.0.0/
[ ] Found plugin firebase_messaging_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.0.0/
[ ] Found plugin flutter_genius_scan at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_genius_scan-4.0.8/
[ ] Found plugin flutter_inappwebview at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/
[ ] Found plugin flutter_plugin_android_lifecycle at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.2/
[ +1 ms] Found plugin flutter_secure_storage at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-4.2.0/
[ +6 ms] Found plugin image_picker at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.5+3/
[ ] Found plugin image_picker_for_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.0.0/
[ ] Found plugin intercom_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/intercom_flutter-3.2.0/
[ +3 ms] Found plugin local_auth at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/local_auth-1.1.5/
[ +1 ms] Found plugin native_pdf_renderer at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/native_pdf_renderer-3.0.0/
[ ] Found plugin package_info at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.1/
[ ] Found plugin package_info_plus at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus-1.0.1/
[ ] Found plugin package_info_plus_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus_macos-1.1.1/
[ ] Found plugin package_info_plus_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/package_info_plus_web-1.0.1/
[ +1 ms] Found plugin path_provider at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.2/
[ ] Found plugin path_provider_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0/
[ ] Found plugin path_provider_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0/
[ ] Found plugin path_provider_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.1/
[ +2 ms] Found plugin sentry_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/sentry_flutter-5.0.0/
[ ] Found plugin share at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/share-2.0.2/
[ ] Found plugin shared_preferences at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.6/
[ ] Found plugin shared_preferences_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.0/
[ ] Found plugin shared_preferences_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.0/
[ ] Found plugin shared_preferences_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.0/
[ ] Found plugin shared_preferences_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.0/
[ +4 ms] Found plugin uni_links2 at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/uni_links2-0.6.0+2/
[ ] Found plugin uni_links_web2 at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/uni_links_web2-0.1.0+2/
[ ] Found plugin url_launcher at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.4/
[ ] Found plugin url_launcher_linux at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.0/
[ ] Found plugin url_launcher_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.0/
[ ] Found plugin url_launcher_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.0/
[ ] Found plugin url_launcher_windows at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.0/
[ ] Found plugin wakelock at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock-0.5.2/
[ ] Found plugin wakelock_macos at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock_macos-0.1.0+1/
[ ] Found plugin wakelock_web at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/wakelock_web-0.2.0+1/
[ ] Found plugin webview_flutter at /Users/kelvin/.pub-cache/hosted/pub.dartlang.org/webview_flutter-2.0.7/
[ +19 ms] Generating /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +52 ms] executing: sysctl hw.optional.arm64
[ +19 ms] Exit code 0 from: sysctl hw.optional.arm64
[ ] hw.optional.arm64: 1
[ ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +962 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ ] Xcode 12.5
Build version 12E262
[ +46 ms] Building without sound null safety
[ ] For more information see https://dart.dev/null-safety/unsound-null-safety
[ +32 ms] Running Gradle task 'bundleProdRelease'...
[ +4 ms] Using gradle from /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/android/gradlew.
[ +31 ms] executing: /usr/bin/plutil -convert json -o - /Users/kelvin/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[ +33 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/kelvin/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[ ] {"NSUIElement":false,"LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleInfoDictionaryVersion":"6.0","CFBundleIdentifier":"com.jetbrains.toolbox.linkapp.pcom.jetbrains.toolbox__ndroid_tudio_umblebee_2021_1_1_anary_1","CFBundleVersion":"Bumblebee 2021.1.1 Canary 1","CFBundleLongVersionString":"Bumblebee 2021.1.1 Canary 1","CFBundleExecutable":"jetbrains-toolbox-launcher","CFBundleName":"Android Studio Bumblebee 2021.1.1 Canary 1","CFBundleGetInfoString":"","NSHighResolutionCapable":true,"CFBundleSignature":"????","LSUIElement":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"icon.icns","JetBrainsToolboxApp":"\/Users\/kelvin\/Library\/Application Support\/JetBrains\/Toolbox\/apps\/AndroidStudio\/ch-0\/203.7717.56.2111.7361063\/Android Studio Preview.app","CFBundleDevelopmentRegion":"English","NSHumanReadableCopyright":"Copyright (c) JetBrains s.r.o.","CFBundleShortVersionString":"Bumblebee 2021.1.1 Canary 1"}
[ +1 ms] executing: /usr/bin/plutil -convert json -o - /Users/kelvin/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7717.56.2111.7361063/Android Studio Preview.app/Contents/Info.plist
[ +16 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/kelvin/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7717.56.2111.7361063/Android Studio Preview.app/Contents/Info.plist
[ ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudioPreview2021.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-203.7717.56.2111.7361063","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"EAP AI-203.7717.56.2111.7361063","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio-EAP","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio EAP AI-203.7717.56.2111.7361063, build AI-203.7717.56.2111.7361063. Copyright JetBrains s.r.o., (c) 2000-2021","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[ +5 ms] executing: [/Users/kelvin/Code/eggy/eggy-flutter/eggy_app/android/] /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/android/gradlew -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib/main.dart -Pdart-obfuscation=false -Pextra-front-end-options=--no-sound-null-safety -Ptrack-widget-creation=true -Ptree-shake-icons=true bundleProdRelease
[ +673 ms] > Task :buildSrc:compileKotlin UP-TO-DATE
[ +1 ms] > Task :buildSrc:compileJava NO-SOURCE
[ ] > Task :buildSrc:compileGroovy NO-SOURCE
[ ] > Task :buildSrc:pluginDescriptors UP-TO-DATE
[ ] > Task :buildSrc:processResources UP-TO-DATE
[ ] > Task :buildSrc:classes UP-TO-DATE
[ ] > Task :buildSrc:inspectClassesForKotlinIC UP-TO-DATE
[ ] > Task :buildSrc:jar UP-TO-DATE
[ ] > Task :buildSrc:assemble UP-TO-DATE
[ ] > Task :buildSrc:compileTestKotlin NO-SOURCE
[ +75 ms] > Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
[ ] > Task :buildSrc:compileTestJava NO-SOURCE
[ ] > Task :buildSrc:compileTestGroovy NO-SOURCE
[ ] > Task :buildSrc:processTestResources NO-SOURCE
[ ] > Task :buildSrc:testClasses UP-TO-DATE
[ ] > Task :buildSrc:test NO-SOURCE
[ ] > Task :buildSrc:validatePlugins UP-TO-DATE
[ ] > Task :buildSrc:check UP-TO-DATE
[ ] > Task :buildSrc:build UP-TO-DATE
[ +197 ms] > Configure project :app
[ ] WARNING: The option setting 'android.enableR8=true' is deprecated.
[ ] It will be removed in version 5.0 of the Android Gradle plugin.
[ ] You will no longer be able to disable R8
[ ] stdErrDump:
[ ] -> Running program 'version-name' in workingDir '/Users/kelvin/Code/eggy/eggy-flutter/eggy_app'
[ ] stdErrDump:
[ ] -> Running program 'build-number' in workingDir '/Users/kelvin/Code/eggy/eggy-flutter/eggy_app'
[ ] -> gitObject = master
[ ] -> token = null
[ ] -> no token found, calculating build number from local git history
[ ] WARNING: DSL element 'useProguard' is obsolete.
[ ] It will be removed in version 5.0 of the Android Gradle plugin.
[ ] Use 'android.enableR8' in gradle.properties to switch between R8 and Proguard.
[ ] WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'.
[ ] It will be removed in version 5.0 of the Android Gradle plugin.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ ] To determine what is calling variant.getMappingFile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[ +1 ms] getMappingFile(): Cannot query the value of this property because it has no value available.
[ +3 ms] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[ ] getMappingFile(): Cannot query the value of this property because it has no value available.
[+1106 ms] > Task :amplify_auth_cognito:preBuild UP-TO-DATE
[ +11 ms] > Task :amplify_auth_cognito:preReleaseBuild UP-TO-DATE
[ ] > Task :amplify_core:preBuild UP-TO-DATE
[ ] > Task :amplify_core:preReleaseBuild UP-TO-DATE
[ ] > Task :amplify_core:packageReleaseRenderscript NO-SOURCE
[ ] > Task :amplify_auth_cognito:compileReleaseRenderscript NO-SOURCE
[ ] > Task :amplify_auth_cognito:generateReleaseResValues UP-TO-DATE
[ ] > Task :amplify_auth_cognito:generateReleaseResources UP-TO-DATE
[ ] > Task :amplify_auth_cognito:packageReleaseResources UP-TO-DATE
[ ] > Task :amplify_auth_cognito:compileReleaseLibraryResources UP-TO-DATE
[ ] > Task :amplify_core:compileReleaseRenderscript NO-SOURCE
[ ] > Task :amplify_core:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :amplify_core:generateReleaseResources UP-TO-DATE
[ ] > Task :amplify_core:packageReleaseResources UP-TO-DATE
[ ] > Task :amplify_core:compileReleaseLibraryResources UP-TO-DATE
[ ] > Task :amplify_flutter:preBuild UP-TO-DATE
[ ] > Task :amplify_flutter:preReleaseBuild UP-TO-DATE
[ ] > Task :amplify_flutter:compileReleaseRenderscript NO-SOURCE
[ ] > Task :amplify_flutter:generateReleaseResValues UP-TO-DATE
[ ] > Task :amplify_flutter:generateReleaseResources UP-TO-DATE
[ ] > Task :amplify_flutter:packageReleaseResources UP-TO-DATE
[ ] > Task :amplify_flutter:compileReleaseLibraryResources UP-TO-DATE
[ ] > Task :amplitude_flutter:preBuild UP-TO-DATE
[ ] > Task :amplitude_flutter:preReleaseBuild UP-TO-DATE
[ ] > Task :amplitude_flutter:compileReleaseRenderscript NO-SOURCE
[ ] > Task :amplitude_flutter:generateReleaseResValues UP-TO-DATE
[ ] > Task :amplitude_flutter:generateReleaseResources UP-TO-DATE
[ ] > Task :amplitude_flutter:packageReleaseResources UP-TO-DATE
[ ] > Task :amplitude_flutter:compileReleaseLibraryResources UP-TO-DATE
[ ] > Task :amplify_auth_cognito:packageReleaseRenderscript NO-SOURCE
[ ] > Task :amplify_flutter:packageReleaseRenderscript NO-SOURCE
[ ] > Task :amplitude_flutter:packageReleaseRenderscript NO-SOURCE
[+1967 ms] > Task :app:compileFlutterBuildProdRelease
[ ] [ +143 ms] executing: sysctl hw.optional.arm64
[ ] [ +34 ms] Exit code 0 from: sysctl hw.optional.arm64
[ ] [ +3 ms] hw.optional.arm64: 1
[ ] [ +7 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +9 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ ] [ ] executing: [/Users/kelvin/fvm/versions/2.2.0/] git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ ] [ +16 ms] Exit code 0 from: git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[ ] [ ] 2.2.0
[ ] [ +7 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +8 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] fatal: HEAD does not point to a branch
[ ] [ +86 ms] executing: [/Users/kelvin/fvm/versions/2.2.0/] git rev-parse --abbrev-ref HEAD
[ ] [ +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] HEAD
[ ] [ +68 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 '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.
[ ] [ +122 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of '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.
[ ] [ +20 ms] Initializing file store
[ ] [ +2 ms] Done initializing file store
[ ] [ +30 ms] Skipping target: gen_localizations
[ ] [ +7 ms] kernel_snapshot: Starting due to {}
[ ] [ +23 ms] /Users/kelvin/fvm/versions/2.2.0/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/kelvin/fvm/versions/2.2.0/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/kelvin/fvm/versions/2.2.0/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 /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/.dart_tool/package_config.json --output-dill /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/.dart_tool/flutter_build/e07bacd691e9a1f2d142ddb63ad14f83/app.dill --depfile /Users/kelvin/Code/eggy/eggy-flutter/eggy_app/.dart_tool/flutter_build/e07bacd691e9a1f2d142ddb63ad14f83/kernel_snapshot.d --no-sound-null-safety package:eggy/main.dart
[+26596 ms] [+27553 ms] Unhandled exception:
[ ] Invalid argument(s): Missing canonical name for Reference to _Experimental
[ ] #0 BinaryPrinter.writeNonNullReference (package:kernel/binary/ast_to_binary.dart:904:9)
[ ] #1 BinaryPrinter.visitInterfaceType (package:kernel/binary/ast_to_binary.dart:2285:7)
[ ] #2 InterfaceType.accept (package:kernel/ast.dart:10728:42)
[ ] #3 BinaryPrinter.writeDartType (package:kernel/binary/ast_to_binary.dart:273:10)
[ ] #4 BinaryPrinter.visitConstantExpression (package:kernel/binary/ast_to_binary.dart:2070:5)
[ ] #5 ConstantExpression.accept (package:kernel/ast.dart:8156:44)
[ ] #6 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:394:10)
[ ] #7 BinaryPrinter.writeAnnotation (package:kernel/binary/ast_to_binary.dart:1138:5)
[ ] #8 BinaryPrinter.writeAnnotationList (package:kernel/binary/ast_to_binary.dart:1146:7)
[ ] #9 BinaryPrinter.visitExtension (package:kernel/binary/ast_to_binary.dart:2427:5)
[ ] #10 Extension.accept (package:kernel/ast.dart:1485:38)
[ ] #11 BinaryPrinter.writeExtensionNode (package:kernel/binary/ast_to_binary.dart:443:10)
[ ] #12 BinaryPrinter.writeExtensionNodeList (package:kernel/binary/ast_to_binary.dart:340:7)
[ ] #13 BinaryPrinter.visitLibrary (package:kernel/binary/ast_to_binary.dart:1020:5)
[ ] #14 Library.accept (package:kernel/ast.dart:507:38)
[ ] #15 BinaryPrinter.writeLibraryNode (package:kernel/binary/ast_to_binary.dart:415:10)
[ ] #16 BinaryPrinter.writeLibraries (package:kernel/binary/ast_to_binary.dart:724:9)
[ ] #17 BinaryPrinter.writeComponentFile.<anonymous closure> (package:kernel/binary/ast_to_binary.dart:567:7)
[ ] #18 Timeline.timeSync (dart:developer/timeline.dart:163:22)
[ ] #19 BinaryPrinter.writeComponentFile (package:kernel/binary/ast_to_binary.dart:549:14)
[ ] #20 FrontendCompiler.writeDillFile (package:frontend_server/frontend_server.dart:676:13)
[ ] #21 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:552:13)
[ ] <asynchronous suspension>
[ ] #22 starter (package:flutter_frontend_server/server.dart:180:12)
[ ] <asynchronous suspension>
[ ] #23 main (file:///opt/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)
[ ] <asynchronous suspension>
[ +97 ms] [ +113 ms] Persisting file store
[ ] [ +4 ms] Done persisting file store
[ ] [ +16 ms] "flutter assemble" took 27,925ms.
[ ] [ +4 ms] Target kernel_snapshot failed: Exception
[ ] #0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:291:7)
[ ] <asynchronous suspension>
[ ] #1 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:828:9)
[ ] <asynchronous suspension>
[ ] #2 Future.wait.<anonymous closure> (dart:async/future.dart)
[ ] <asynchronous suspension>
[ ] #3 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:766:32)
[ ] <asynchronous suspension>
[ ] #4 Future.wait.<anonymous closure> (dart:async/future.dart)
[ ] <asynchronous suspension>
[ ] #5 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:766:32)
[ ] <asynchronous suspension>
[ ] #6 Future.wait.<anonymous closure> (dart:async/future.dart)
[ ] <asynchronous suspension>
[ ] #7 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:766:32)
[ ] <asynchronous suspension>
[ ] #8 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:595:16)
[ ] <asynchronous suspension>
[ ] #9 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:318:32)
[ ] <asynchronous suspension>
[ ] #10 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
[ ] <asynchronous suspension>
[ ] #11 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[ ] <asynchronous suspension>
[ ] #12 CommandRunner.runCommand (package:args/command_runner.dart:196:13)
[ ] <asynchronous suspension>
[ ] #13 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
[ ] <asynchronous suspension>
[ ] #14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[ ] <asynchronous suspension>
[ ] #15 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
[ ] <asynchronous suspension>
[ ] #16 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[ ] <asynchronous suspension>
[ ] #17 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[ ] <asynchronous suspension>
[ ] #18 main (package:flutter_tools/executable.dart:91:3)
[ ] <asynchronous suspension>
[ ] [ +5 ms]
[ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[ ] #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:335:7)
[ ] <asynchronous suspension>
[ ] #2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043: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:196:13)
[ ] <asynchronous suspension>
[ ] #5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284: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:232: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:91:3)
[ ] <asynchronous suspension>
[ +66 ms] [ +5 ms] ensureAnalyticsSent: 1ms
[ ] [ +1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ +4 ms] exiting with code 1
[ ] > Task :app:compileFlutterBuildProdRelease FAILED
[ ] 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.8.1/userguide/command_line_interface.html#sec:command_line_warnings
[ ] 13 actionable tasks: 1 executed, 12 up-to-date
[ ] FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script '/Users/kelvin/fvm/versions/2.2.0/packages/flutter_tools/gradle/flutter.gradle' line: 1035
[ ] * What went wrong:
[ ] Execution failed for task ':app:compileFlutterBuildProdRelease'.
[ ] > Process 'command '/Users/kelvin/fvm/versions/2.2.0/bin/flutter'' 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 30s
[ +465 ms] Running Gradle task 'bundleProdRelease'... (completed in 31.4s)
[ +11 ms] "flutter appbundle" took 33,040ms.
[ +6 ms] Gradle task bundleProdRelease failed with exit code 1
[ ]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:464:9)
<asynchronous suspension>
#2 AndroidGradleBuilder.buildAab (package:flutter_tools/src/android/gradle.dart:249:5)
<asynchronous suspension>
#3 BuildAppBundleCommand.runCommand (package:flutter_tools/src/commands/build_appbundle.dart:147:5)
<asynchronous suspension>
#4 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043: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:196:13)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284: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:232: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:91:3)
<asynchronous suspension>
[ +5 ms] ensureAnalyticsSent: 1ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ +3 ms] exiting with code 1
iOS
Build commandflutter build ios --release --no-codesign --flavor Prod --no-sound-null-safety --verbose
Logs - see attached log file
`flutter doctor -v`
[✓] Flutter (Channel unknown, 2.2.0, on macOS 11.2.3 20D91 darwin-arm, locale en-AU)
• Flutter version 2.2.0 at /Users/kelvin/fvm/versions/2.2.0
• Framework revision b22742018b (12 days ago), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/kelvin/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/kelvin/Library/Android/sdk
• Java binary at: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio
• Android Studio at /Users/kelvin/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7717.56.2111.7361063/Android Studio Preview.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.1)
• IntelliJ at /Users/kelvin/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin version 211.7233
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (3 available)
• iPhone 11 (mobile) • 112FEBC8-E228-4BD6-B26E-B259D4C3021F • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 11.2.3 20D91 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77
! Doctor found issues in 2 categories.