flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.59k stars 27.13k forks source link

[tool] Storage base warns twice when building #110654

Open AlexV525 opened 2 years ago

AlexV525 commented 2 years ago

According to the code, it should be warned only once.

https://github.com/flutter/flutter/blob/069f5042973dc4aafbf76a44ca14af7c0e2c2ca1/packages/flutter_tools/lib/src/cache.dart#L519-L528

image

Logs ``` [ +68 ms] executing: [X:\SDK\flutter-stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +85 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] f1875d570e39de09040c8f79aa13cc56baab8db1 [ ] executing: [X:\SDK\flutter-stable/] git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1 [ +66 ms] Exit code 0 from: git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1 [ ] 3.0.5 [ +7 ms] executing: [X:\SDK\flutter-stable/] git rev-parse --abbrev-ref --symbolic @{u} [ +52 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [X:\SDK\flutter-stable/] git ls-remote --get-url origin [ +51 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +126 ms] executing: [X:\SDK\flutter-stable/] git rev-parse --abbrev-ref HEAD [ +59 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. [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +4 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [ +48 ms] executing: X:/Android/SDK\platform-tools\adb.exe devices -l [ +75 ms] List of devices attached f8e67ce3 device product:OnePlus6T model:ONEPLUS_A6010 device:OnePlus6T transport_id:5 [ +5 ms] X:/Android/SDK\platform-tools\adb.exe -s f8e67ce3 shell getprop [ +136 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] 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. [ +116 ms] Skipping pub get: version match. [ +26 ms] Found plugin agent_dart at X:\SDK\flutter-stable\.pub-cache\git\agent_dart-4daa9abf50fafe3090e9cc0c1371d793f4f65ddc\ [ +6 ms] Found plugin flutter_inappwebview at X:\SDK\flutter-stable\.pub-cache\git\flutter_inappwebview-643af3217941fc257d23050f5cb7424bcc03d211\ [ +1 ms] Found plugin mlkit_scan_plugin at X:\SDK\flutter-stable\.pub-cache\git\flutter_mlkit_scan_plugin-9d39638ad6f697cea46ebd18ccb70a3089cdbc00\ [ +27 ms] Found plugin device_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus-3.2.3\ [ +1 ms] Found plugin device_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_linux-2.1.1\ [ +1 ms] Found plugin device_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_macos-2.2.3\ [ +1 ms] Found plugin device_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_web-2.1.0\ [ +1 ms] Found plugin device_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_windows-2.1.1\ [ +10 ms] Found plugin flutter_displaymode at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_displaymode-0.4.0\ [ +6 ms] Found plugin flutter_plugin_android_lifecycle at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_android_lifecycle-2.0.7\ [ +2 ms] Found plugin flutter_secure_storage at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage-5.0.2\ [ +1 ms] Found plugin flutter_secure_storage_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_linux-1.1.1\ [ ] Found plugin flutter_secure_storage_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_macos-1.1.1\ [ +2 ms] Found plugin flutter_secure_storage_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_web-1.0.2\ [ +1 ms] Found plugin flutter_secure_storage_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_windows-1.1.2\ [ +17 ms] Found plugin local_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth-2.1.2\ [ +1 ms] Found plugin local_auth_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_android-1.0.11\ [ +1 ms] Found plugin local_auth_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_ios-1.0.9\ [ +3 ms] Found plugin local_auth_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_windows-1.0.3\ [ +8 ms] Found plugin open_file at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\open_file-3.2.1\ [ +2 ms] Found plugin package_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus-1.4.2\ [ +1 ms] Found plugin package_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_linux-1.0.5\ [ +1 ms] Found plugin package_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_macos-1.3.0\ [ +1 ms] Found plugin package_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_web-1.0.5\ [ +1 ms] Found plugin package_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_windows-1.0.5\ [ +2 ms] Found plugin path_provider at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider-2.0.11\ [ +1 ms] Found plugin path_provider_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_android-2.0.17\ [ +1 ms] Found plugin path_provider_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_ios-2.0.11\ [ ] Found plugin path_provider_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.7\ [ ] Found plugin path_provider_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_macos-2.0.6\ [ +1 ms] Found plugin path_provider_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.7\ [ ] Found plugin permission_handler at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler-9.2.0\ [ ] Found plugin permission_handler_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_android-9.0.2+1\ [ +1 ms] Found plugin permission_handler_apple at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_apple-9.0.4\ [ +1 ms] Found plugin permission_handler_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_windows-0.1.0\ [ +11 ms] Found plugin sentry_flutter at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\sentry_flutter-6.9.0\ [ +4 ms] Found plugin smart_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\smart_auth-1.0.5\ [ +7 ms] Found plugin url_launcher at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher-6.1.5\ [ +1 ms] Found plugin url_launcher_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_android-6.0.17\ [ +1 ms] Found plugin url_launcher_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_ios-6.0.17\ [ +1 ms] Found plugin url_launcher_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_linux-3.0.1\ [ ] Found plugin url_launcher_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_macos-3.0.1\ [ +1 ms] Found plugin url_launcher_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_web-2.0.13\ [ +1 ms] Found plugin url_launcher_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_windows-3.0.1\ [ +36 ms] Found plugin agent_dart at X:\SDK\flutter-stable\.pub-cache\git\agent_dart-4daa9abf50fafe3090e9cc0c1371d793f4f65ddc\ [ ] Found plugin flutter_inappwebview at X:\SDK\flutter-stable\.pub-cache\git\flutter_inappwebview-643af3217941fc257d23050f5cb7424bcc03d211\ [ ] Found plugin mlkit_scan_plugin at X:\SDK\flutter-stable\.pub-cache\git\flutter_mlkit_scan_plugin-9d39638ad6f697cea46ebd18ccb70a3089cdbc00\ [ +14 ms] Found plugin device_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus-3.2.3\ [ ] Found plugin device_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_linux-2.1.1\ [ ] Found plugin device_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_macos-2.2.3\ [ ] Found plugin device_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_web-2.1.0\ [ ] Found plugin device_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_windows-2.1.1\ [ +5 ms] Found plugin flutter_displaymode at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_displaymode-0.4.0\ [ +1 ms] Found plugin flutter_plugin_android_lifecycle at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_android_lifecycle-2.0.7\ [ ] Found plugin flutter_secure_storage at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage-5.0.2\ [ ] Found plugin flutter_secure_storage_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_linux-1.1.1\ [ ] Found plugin flutter_secure_storage_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_macos-1.1.1\ [ ] Found plugin flutter_secure_storage_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_web-1.0.2\ [ ] Found plugin flutter_secure_storage_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_windows-1.1.2\ [ +5 ms] Found plugin local_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth-2.1.2\ [ ] Found plugin local_auth_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_android-1.0.11\ [ ] Found plugin local_auth_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_ios-1.0.9\ [ ] Found plugin local_auth_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_windows-1.0.3\ [ +3 ms] Found plugin open_file at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\open_file-3.2.1\ [ +1 ms] Found plugin package_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus-1.4.2\ [ ] Found plugin package_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_linux-1.0.5\ [ ] Found plugin package_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_macos-1.3.0\ [ ] Found plugin package_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_web-1.0.5\ [ ] Found plugin package_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_windows-1.0.5\ [ +1 ms] Found plugin path_provider at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider-2.0.11\ [ ] Found plugin path_provider_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_android-2.0.17\ [ ] Found plugin path_provider_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_ios-2.0.11\ [ ] Found plugin path_provider_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.7\ [ ] Found plugin path_provider_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_macos-2.0.6\ [ ] Found plugin path_provider_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.7\ [ ] Found plugin permission_handler at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler-9.2.0\ [ ] Found plugin permission_handler_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_android-9.0.2+1\ [ ] Found plugin permission_handler_apple at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_apple-9.0.4\ [ ] Found plugin permission_handler_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_windows-0.1.0\ [ +5 ms] Found plugin sentry_flutter at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\sentry_flutter-6.9.0\ [ +1 ms] Found plugin smart_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\smart_auth-1.0.5\ [ +4 ms] Found plugin url_launcher at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher-6.1.5\ [ ] Found plugin url_launcher_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_android-6.0.17\ [ ] Found plugin url_launcher_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_ios-6.0.17\ [ ] Found plugin url_launcher_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_linux-3.0.1\ [ ] Found plugin url_launcher_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_macos-3.0.1\ [ ] Found plugin url_launcher_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_web-2.0.13\ [ ] Found plugin url_launcher_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_windows-3.0.1\ [ +15 ms] Generating X:\path\to\my\project\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +52 ms] ro.hardware = qcom [ +61 ms] Initializing file store [ +16 ms] gen_localizations: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: X:\SDK\flutter-stable\packages\flutter_tools\lib\src\build_system\targets\localizations.dart,X:\path\to\my\project\l10n.yaml,X:\path\to\my\project\lib/l10n\app_en.arb,X:\path\to\my\project\lib/l10n\app_ja.arb,X:\path\to\my\project\lib/l10n\app_zh.arb,X:\path\to\my\project\lib/l10n/gen\me_localizations_en.dart,X:\path\to\my\project\lib/l10n/gen\me_localizations_ja.dart,X:\path\to\my\project\lib/l10n/gen\me_localizations_zh.dart,X:\path\to\my\project\lib\l10n\gen\me_localizations_untranslated.txt,X:\path\to\my\project\lib/l10n/gen\me_localizations.dart} [ +131 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: X:\path\to\my\project\.dart_tool\package_config_subset,X:\path\to\my\project\.dart_tool\flutter_build\dart_plugin_registrant.dart} [ +2 ms] gen_localizations: Complete [ +15 ms] Found plugin agent_dart at X:\SDK\flutter-stable\.pub-cache\git\agent_dart-4daa9abf50fafe3090e9cc0c1371d793f4f65ddc\ [ ] Found plugin flutter_inappwebview at X:\SDK\flutter-stable\.pub-cache\git\flutter_inappwebview-643af3217941fc257d23050f5cb7424bcc03d211\ [ ] Found plugin mlkit_scan_plugin at X:\SDK\flutter-stable\.pub-cache\git\flutter_mlkit_scan_plugin-9d39638ad6f697cea46ebd18ccb70a3089cdbc00\ [ +13 ms] Found plugin device_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus-3.2.3\ [ ] Found plugin device_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_linux-2.1.1\ [ ] Found plugin device_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_macos-2.2.3\ [ ] Found plugin device_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_web-2.1.0\ [ ] Found plugin device_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\device_info_plus_windows-2.1.1\ [ +5 ms] Found plugin flutter_displaymode at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_displaymode-0.4.0\ [ +2 ms] Found plugin flutter_plugin_android_lifecycle at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_android_lifecycle-2.0.7\ [ ] Found plugin flutter_secure_storage at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage-5.0.2\ [ ] Found plugin flutter_secure_storage_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_linux-1.1.1\ [ ] Found plugin flutter_secure_storage_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_macos-1.1.1\ [ +1 ms] Found plugin flutter_secure_storage_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_web-1.0.2\ [ ] Found plugin flutter_secure_storage_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\flutter_secure_storage_windows-1.1.2\ [ +7 ms] Found plugin local_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth-2.1.2\ [ ] Found plugin local_auth_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_android-1.0.11\ [ ] Found plugin local_auth_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_ios-1.0.9\ [ ] Found plugin local_auth_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\local_auth_windows-1.0.3\ [ +4 ms] Found plugin open_file at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\open_file-3.2.1\ [ +1 ms] Found plugin package_info_plus at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus-1.4.2\ [ ] Found plugin package_info_plus_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_linux-1.0.5\ [ ] Found plugin package_info_plus_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_macos-1.3.0\ [ ] Found plugin package_info_plus_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_web-1.0.5\ [ ] Found plugin package_info_plus_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\package_info_plus_windows-1.0.5\ [ +1 ms] Found plugin path_provider at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider-2.0.11\ [ ] Found plugin path_provider_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_android-2.0.17\ [ ] Found plugin path_provider_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_ios-2.0.11\ [ ] Found plugin path_provider_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.7\ [ ] Found plugin path_provider_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_macos-2.0.6\ [ ] Found plugin path_provider_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.7\ [ ] Found plugin permission_handler at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler-9.2.0\ [ ] Found plugin permission_handler_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_android-9.0.2+1\ [ ] Found plugin permission_handler_apple at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_apple-9.0.4\ [ ] Found plugin permission_handler_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\permission_handler_windows-0.1.0\ [ +7 ms] Found plugin sentry_flutter at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\sentry_flutter-6.9.0\ [ +2 ms] Found plugin smart_auth at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\smart_auth-1.0.5\ [ +3 ms] Found plugin url_launcher at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher-6.1.5\ [ ] Found plugin url_launcher_android at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_android-6.0.17\ [ ] Found plugin url_launcher_ios at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_ios-6.0.17\ [ ] Found plugin url_launcher_linux at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_linux-3.0.1\ [ ] Found plugin url_launcher_macos at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_macos-3.0.1\ [ ] Found plugin url_launcher_web at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_web-2.0.13\ [ ] Found plugin url_launcher_windows at X:\SDK\flutter-stable\.pub-cache\hosted\pub.flutter-io.cn\url_launcher_windows-3.0.1\ [ +8 ms] gen_dart_plugin_registrant: Complete [ +1 ms] Skipping target: _composite [ +1 ms] complete [ +6 ms] Launching lib\main.dart on ONEPLUS A6010 in debug mode... [ +5 ms] X:\SDK\flutter-stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev X:\SDK\flutter-stable\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root X:\SDK\flutter-stable\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DmeIsProduction=true -DmeDisableSecureVerify=true -DmeEnableDebug=true -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\alexv\AppData\Local\Temp\flutter_tools.b4c04835\flutter_tool.fac58d8\app.dill --packages X:\path\to\my\project\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\4be75506b9b7047e169536fa141f77cc.cache.dill.track.dill --source X:\path\to\my\project\.dart_tool\flutter_build\dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///X:/Coding/Garages/AstroxGarage/me_plus/.dart_tool/flutter_build/dart_plugin_registrant.dart --enable-experiment=alternative-invalidation-strategy [ +7 ms] executing: X:/Android/SDK\build-tools\31.0.0\aapt dump xmltree X:\path\to\my\project\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +39 ms] Exit code 0 from: X:/Android/SDK\build-tools\31.0.0\aapt dump xmltree X:\path\to\my\project\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x6 A: android:versionName(0x0101021c)="1.0.1" (Raw: "1.0.1") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.astrox.me" (Raw: "com.astrox.me") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x17 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=11) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: uses-permission (line=12) A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC") E: uses-permission (line=13) A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA") E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.FLASHLIGHT" (Raw: "android.permission.FLASHLIGHT") E: queries (line=16) E: intent (line=17) E: action (line=18) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") E: uses-permission (line=22) A: android:name(0x01010003)="android.permission.REQUEST_INSTALL_PACKAGES" (Raw: "android.permission.REQUEST_INSTALL_PACKAGES") E: uses-permission (line=23) A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE") E: uses-permission (line=24) A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT") E: uses-permission (line=26) A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE") E: application (line=28) A: android:label(0x01010001)="ME" (Raw: "ME") A: android:icon(0x01010002)=@0x7f0e0000 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:extractNativeLibs(0x010104ea)=(type 0x12)0x0 A: android:networkSecurityConfig(0x01010527)=@0x7f120002 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=35) A: android:theme(0x01010000)=@0x7f1000a4 A: android:name(0x01010003)="com.astrox.me.MainActivity" (Raw: "com.astrox.me.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=50) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f1000a5 E: intent-filter (line=54) E: action (line=55) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=57) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=64) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: meta-data (line=67) A: android:name(0x01010003)="io.flutter.network-policy" (Raw: "io.flutter.network-policy") A: android:resource(0x01010025)=@0x7f120002 E: activity (line=71) A: android:theme(0x01010000)=@0x01030007 A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: activity (line=75) A: android:theme(0x01010000)=@0x7f100006 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 E: activity (line=80) A: android:theme(0x01010000)=@0x7f10011d A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=84) A: android:theme(0x01010000)=@0x7f10011d A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=88) A: android:theme(0x01010000)=@0x7f10011d A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: activity (line=93) A: android:theme(0x01010000)=@0x7f10011d A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: receiver (line=99) A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=104) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: provider (line=108) A: android:name(0x01010003)="com.crazecoder.openfile.FileProvider" (Raw: "com.crazecoder.openfile.FileProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.astrox.me.fileProvider.com.crazecoder.openfile" (Raw: "com.astrox.me.fileProvider.com.crazecoder.openfile") A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff E: meta-data (line=113) A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS") A: android:resource(0x01010025)=@0x7f120000 E: activity (line=118) A: android:theme(0x01010000)=@0x01030010 A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff E: service (line=127) A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService") A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:visibleToInstantApps(0x01010531)=(type 0x12)0xffffffff E: service (line=132) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitComponentDiscoveryService" (Raw: "com.google.mlkit.common.internal.MlKitComponentDiscoveryService") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: meta-data (line=136) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.barcode.internal.BarcodeRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.barcode.internal.BarcodeRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=139) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=142) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=145) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: provider (line=150) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitInitProvider" (Raw: "com.google.mlkit.common.internal.MlKitInitProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.astrox.me.mlkitinitprovider" (Raw: "com.astrox.me.mlkitinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x63 E: activity (line=156) A: android:theme(0x01010000)=@0x01030010 A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=161) A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version") A: android:value(0x01010024)=@0x7f0a0004 E: uses-library (line=165) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=168) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: provider (line=172) A: android:name(0x01010003)="io.sentry.android.core.SentryPerformanceProvider" (Raw: "io.sentry.android.core.SentryPerformanceProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.astrox.me.SentryPerformanceProvider" (Raw: "com.astrox.me.SentryPerformanceProvider") A: android:initOrder(0x0101001a)=(type 0x10)0xc8 E: provider (line=177) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.astrox.me.androidx-startup" (Raw: "com.astrox.me.androidx-startup") E: meta-data (line=181) A: android:name(0x01010003)="androidx.emoji2.text.EmojiCompatInitializer" (Raw: "androidx.emoji2.text.EmojiCompatInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: meta-data (line=184) A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: service (line=189) A: android:name(0x01010003)="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" (Raw: "com.google.android.datatransport.runtime.backends.TransportBackendDiscovery") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=192) A: android:name(0x01010003)="backend:com.google.android.datatransport.cct.CctBackendFactory" (Raw: "backend:com.google.android.datatransport.cct.CctBackendFactory") A: android:value(0x01010024)="cct" (Raw: "cct") E: service (line=196) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService") A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE") A: android:exported(0x01010010)=(type 0x12)0x0 E: receiver (line=202) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver") A: android:exported(0x01010010)=(type 0x12)0x0 [ +6 ms] executing: X:/Android/SDK\platform-tools\adb.exe -s f8e67ce3 shell -x logcat -v time -t 1 [ +38 ms] <- compile package:me_plus/main.dart [ +413 ms] --------- beginning of main 08-31 17:38:53.544 E/SELinux ( 607): avc: denied { find } for pid=7644 uid=10190 name=tethering scontext=u:r:vendor_systemhelper_app:s0:c512,c768 tcontext=u:object_r:tethering_service:s0 tclass=service_manager permissive=0 [ +29 ms] executing: X:/Android/SDK\platform-tools\adb.exe version [ +53 ms] Android Debug Bridge version 1.0.41 Version 33.0.3-8952118 Installed as X:\Android\SDK\platform-tools\adb.exe [ +1 ms] executing: X:/Android/SDK\platform-tools\adb.exe start-server [ +59 ms] Building APK Running Gradle task 'assembleDebug'... [ +13 ms] Using gradle from X:\path\to\my\project\android\gradlew.bat. [ +12 ms] executing: X:\IDEs\Android Studio\jre\bin\java -version [ +175 ms] Exit code 0 from: X:\IDEs\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: [X:\path\to\my\project\android/] X:\path\to\my\project\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=X:\path\to\my\project\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=bWVJc1Byb2R1Y3Rpb249dHJ1ZQ==,bWVEaXNhYmxlU2VjdXJlVmVyaWZ5PXRydWU=,bWVFbmFibGVEZWJ1Zz10cnVl,Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+3494 ms] > Task :agent_dart:preBuild UP-TO-DATE [ ] > Task :agent_dart:preDebugBuild UP-TO-DATE [ ] > Task :agent_dart:compileDebugAidl NO-SOURCE [ ] > Task :agent_dart:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :agent_dart:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :agent_dart:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :agent_dart:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ ] > Task :agent_dart:compileDebugRenderscript NO-SOURCE [ ] > Task :agent_dart:generateDebugBuildConfig UP-TO-DATE [ ] > Task :agent_dart:generateDebugResValues UP-TO-DATE [ ] > Task :agent_dart:generateDebugResources UP-TO-DATE [ ] > Task :agent_dart:packageDebugResources UP-TO-DATE [ ] > Task :agent_dart:parseDebugLocalResources UP-TO-DATE [ ] > Task :agent_dart:processDebugManifest UP-TO-DATE [ ] > Task :agent_dart:generateDebugRFile UP-TO-DATE [ +86 ms] > Task :agent_dart:compileDebugKotlin UP-TO-DATE [ ] > Task :agent_dart:extractDebugAnnotations UP-TO-DATE [ ] > Task :agent_dart:javaPreCompileDebug UP-TO-DATE [ ] > Task :agent_dart:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :agent_dart:mergeDebugGeneratedProguardFiles UP-TO-DATE [ ] > Task :agent_dart:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] > Task :agent_dart:mergeDebugShaders UP-TO-DATE [ ] > Task :agent_dart:compileDebugShaders NO-SOURCE [ ] > Task :agent_dart:generateDebugAssets UP-TO-DATE [ ] > Task :agent_dart:packageDebugAssets UP-TO-DATE [ ] > Task :agent_dart:packageDebugRenderscript NO-SOURCE [ ] > Task :agent_dart:prepareDebugArtProfile UP-TO-DATE [ ] > Task :agent_dart:prepareLintJarForPublish UP-TO-DATE [ ] > Task :agent_dart:processDebugJavaRes NO-SOURCE [ ] > Task :agent_dart:mergeDebugJavaResource UP-TO-DATE [ ] > Task :agent_dart:syncDebugLibJars UP-TO-DATE [ ] > Task :agent_dart:writeDebugAarMetadata UP-TO-DATE [ ] > Task :agent_dart:bundleDebugAar UP-TO-DATE [ ] > Task :agent_dart:compileDebugSources UP-TO-DATE [ ] > Task :agent_dart:assembleDebug UP-TO-DATE [ ] > Task :agent_dart:bundleLibCompileToJarDebug UP-TO-DATE [+2003 ms] > Task :app:compileFlutterBuildDebug [ ] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! [+3297 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE ```
christopherfujino commented 2 years ago
[+2003 ms] > Task :app:compileFlutterBuildDebug
[        ] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

Mind you, I don't understand how gradle works; however, I think what's happening is that app:compileFlutterBuildDebug is re-entrantly calling another flutter CLI tool process, which is then warning a second time about the storage override.

christopherfujino commented 2 years ago
[+2003 ms] > Task :app:compileFlutterBuildDebug
[        ] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

Mind you, I don't understand how gradle works; however, I think what's happening is that app:compileFlutterBuildDebug is re-entrantly calling another flutter CLI tool process, which is then warning a second time about the storage override.

I can't really think of an easy way to ensure this doesn't print twice, as the two processes are independent and it's not easy from the first invocation to determine if the second will print the warning.

AlexV525 commented 2 years ago

I can't really think of an easy way to ensure this doesn't print twice, as the two processes are independent and it's not easy from the first invocation to determine if the second will print the warning.

~The first thing I thought of is to turn the condition flag into a static one, which makes it valid during the whole tool's running time.~ Yes, they are running in separate tool processes.

christopherfujino commented 2 years ago

I can't really think of an easy way to ensure this doesn't print twice, as the two processes are independent and it's not easy from the first invocation to determine if the second will print the warning.

~The first thing I thought of is to turn the condition flag into a static one, which makes it valid during the whole tool's running time.~ Yes, they are running in separate tool processes.

I will add that this will only really affect users who have done a git checkout or git pull. If you use flutter upgrade to get a new Flutter SDK version, I believe it will do a flutter precache --all, so I don't think you would see this warning.

Also, please don't prioritize tool issues, as this hides them from the weekly tool triage meeting, where we look at and prioritize issues without a priority label.

AlexV525 commented 2 years ago

Also, please don't prioritize tool issues, as this hides them from the weekly tool triage meeting, where we look at and prioritize issues without a priority label.

Thanks for the notice.

AlexV525 commented 1 year ago

The warning behaves differently on different platforms as well, I've found that Windows always displays those warnings when debugging, but macOS seems not.