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

🐛 [firebase_core:0.7.0] Could not determine the dependencies of task ':firebase_core:compileDebugAidl'. #4720

Closed
lyqiai opened this issue Jan 19, 2021 · 13 comments
Labels
Needs Attention This issue needs maintainer attention. type: bug Something isn't working

Comments

@lyqiai
Copy link

lyqiai commented Jan 19, 2021

Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':firebase_core:debugCompileClasspath'.
Could not find com.google.firebase:firebase-common:.
Required by:
project :firebase_core

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H15 darwin-x64, locale zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Community Edition (version 2019.3.4)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.52.0)
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.

@lyqiai lyqiai added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Jan 19, 2021
@markusaksli-nc
Copy link
Contributor

Hi @lyqiai
Could you please provide your flutter pub deps -- --style=compact, pubspec.yaml and flutter run -v logs (in a plain text file if they are too long)?
Thank you

@markusaksli-nc markusaksli-nc added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Jan 19, 2021
@lyqiai
Copy link
Author

lyqiai commented Jan 20, 2021

flutter pub deps -- --style=compact
Dart SDK 2.10.4
Flutter SDK 1.22.5
boss 2.1.8

dependencies:
- amap_map_fluttify 0.30.1 [flutter amap_core_fluttify amap_location_fluttify amap_search_fluttify url_launcher uni_map_platform_interface foundation_fluttify core_location_fluttify]
- cached_network_image 2.0.0 [flutter flutter_cache_manager]
- city_pickers 0.1.30 [flutter lpinyin]
- cupertino_icons 0.1.3
- drag_list 1.0.4 [flutter async]
- event_bus 1.1.0
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_baidutts 0.0.5 [flutter]
- flutter_cupertino_date_picker_fork 1.0.1 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters collection meta path typed_data vector_math]
- flutter_slidable 0.5.4 [flutter]
- flutter_spinkit 4.1.1+1 [flutter]
- flutter_swiper 1.1.6 [flutter transformer_page_view flutter_page_indicator]
- flutter_webview_plugin 0.3.10+1 [flutter]
- fluwx 2.3.0 [flutter]
- hi_common 0.0.1 [flutter firebase_core firebase_analytics firebase_crashlytics dio path_provider permission_handler bot_toast device_info url_launcher lpinyin flustars flutter_native_image package_info get_ip connectivity fluttertoast pull_to_refresh flutter_spinkit]
- image_gallery_saver 1.5.0 [flutter]
- image_picker 0.6.7+12 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- jpush_flutter 0.5.3 [platform flutter]
- json_annotation 3.1.1
- provider 4.0.2 [flutter nested]
- pull_to_refresh 1.6.2 [flutter]
- qr_code_scanner 0.0.12 [flutter]
- qr_flutter 3.1.0 [flutter qr]
- reorderables 0.3.2 [flutter]
- retrofit 1.3.4+1 [meta dio]
- router 0.0.1 [flutter]
- scrollable_positioned_list 0.1.8 [flutter meta]
- store_redirect 1.0.2 [flutter]
- svgaplayer_flutter 1.0.1 [flutter protobuf http path_drawing]

dev dependencies:
- build_runner 1.10.4 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- json_serializable 3.5.1 [analyzer build build_config json_annotation meta path source_gen]
- retrofit_generator 1.4.0+1 [dio source_gen built_collection code_builder tuple retrofit analyzer dart_style build]
- router_generator 0.0.1 [flutter source_gen built_collection code_builder build router]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- amap_core_fluttify 0.14.0 [flutter foundation_fluttify core_location_fluttify]
- amap_location_fluttify 0.20.0 [flutter amap_core_fluttify foundation_fluttify core_location_fluttify]
- amap_search_fluttify 0.16.2 [flutter amap_core_fluttify foundation_fluttify core_location_fluttify]
- analyzer 0.41.2 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 1.6.0
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- bot_toast 2.4.1 [flutter]
- build 1.5.2 [analyzer async convert crypto logging meta path glob]
- build_config 0.4.2 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.6 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.4.4 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.0.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 4.3.2 [collection quiver]
- built_value 7.1.0 [built_collection collection fixnum quiver]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- cli_util 0.2.0 [path]
- clock 1.1.0-nullsafety.1
- code_builder 3.6.0 [built_collection built_value collection matcher meta]
- collection 1.15.0-nullsafety.3
- common_utils 1.2.1 [decimal crypto convert]
- connectivity 0.4.8+6 [flutter meta connectivity_platform_interface connectivity_macos]
- connectivity_macos 0.1.0+7 [flutter]
- connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface]
- convert 2.1.1 [charcode typed_data]
- core_location_fluttify 0.6.0 [flutter foundation_fluttify]
- crypto 2.1.5 [collection convert typed_data]
- dart_style 1.3.11 [analyzer args path pub_semver source_span]
- decimal 0.3.5 [rational]
- device_info 0.4.1+4 [flutter]
- dio 3.0.10 [http_parser path]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.3 [http http_parser js]
- firebase_analytics 7.0.1 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_core 0.7.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 3.0.1 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+3 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics 0.4.0+1 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- firebase_crashlytics_platform_interface 1.1.6 [flutter meta collection firebase_core plugin_platform_interface]
- fixnum 0.10.11
- flustars 0.3.3 [flutter common_utils sp_util synchronized path_provider]
- flutter_cache_manager 1.4.2 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_native_image 0.0.5+2 [flutter]
- flutter_page_indicator 0.0.3 [flutter]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- fluttertoast 7.1.5 [flutter flutter_web_plugins]
- foundation_fluttify 0.11.1 [flutter]
- get_ip 0.4.0 [flutter]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- graphs 0.2.0
- http 0.12.2 [http_parser path pedantic]
- http_multi_server 2.2.0 [async]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- intl 0.16.1 [path]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.2
- logging 0.11.4
- lpinyin 1.0.7
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- mime 0.9.7
- nested 0.0.4 [flutter]
- node_interop 1.2.1 [js]
- node_io 1.2.0 [file node_interop path]
- package_config 1.9.3 [path charcode]
- package_info 0.4.0+6 [flutter]
- path 1.8.0-nullsafety.1
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider 1.6.7 [flutter path_provider_platform_interface path_provider_macos]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+8 [flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- pool 1.4.0 [async stack_trace]
- process 3.0.13 [file intl meta path platform]
- protobuf 1.1.0 [fixnum]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.7 [checked_yaml json_annotation pub_semver yaml]
- qr 1.3.0 [meta]
- quiver 2.1.5 [matcher meta]
- rational 0.3.8
- rxdart 0.24.1
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- shelf 0.7.9 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.3 [shelf web_socket_channel stream_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+1 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sp_util 1.0.1 [flutter synchronized shared_preferences]
- sqflite 1.3.2+2 [flutter sqflite_common path]
- sqflite_common 1.0.3 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- transformer_page_view 0.1.6 [flutter]
- tuple 1.0.3 [quiver]
- typed_data 1.3.0-nullsafety.3 [collection]
- uni_map_platform_interface 0.0.13 [flutter foundation_fluttify core_location_fluttify]
- url_launcher 5.4.2 [flutter url_launcher_platform_interface url_launcher_web url_launcher_macos]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.3
- watcher 0.9.7+15 [async path pedantic]
- web_socket_channel 1.1.0 [async crypto stream_channel]
- win32 1.7.4 [ffi]
- xdg_directories 0.1.2 [meta path process]
- yaml 2.2.1 [charcode collection string_scanner source_span]
pubspec.yaml
name: boss
description: boss client

version: 2.1.8

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  retrofit:
    git:
      url: https://github.com/lyqiai/retrofit.dart.git
      ref: dev
      path: annotation
  flutter_baidutts: 0.0.5
  cupertino_icons: 0.1.3
  flutter_localizations:
    sdk: flutter
  cached_network_image: 2.0.0
  provider: 4.0.2
  json_annotation: ^3.0.1
  pull_to_refresh: 1.6.2
  scrollable_positioned_list: 0.1.8
  qr_code_scanner: 0.0.12
  image_picker:
    git:
      url: https://github.com/cpboyd/plugins.git
      ref: e9965bd9bfc8e401ee595dd0a9ee6f0940e9b127
      path: packages/image_picker/image_picker
  flutter_cupertino_date_picker_fork: ^1.0.1
  city_pickers: 0.1.30
  drag_list: 1.0.4
  reorderables: 0.3.2
  qr_flutter: 3.1.0
  svgaplayer_flutter: 1.0.1
  flutter_swiper: 1.1.6
  jpush_flutter: 0.5.3
  flutter_webview_plugin: 0.3.10+1
  flutter_spinkit: 4.1.1+1
  flutter_slidable: 0.5.4
  event_bus: 1.1.0
  store_redirect: 1.0.2
  image_gallery_saver: 1.5.0
  fluwx: 2.3.0
  amap_map_fluttify: 0.30.1
  hi_common:
    path: ../hi_common
  firebase_core: 0.7.0
  firebase_analytics: 7.0.1
  firebase_crashlytics: 0.4.0+1
#    git: http://129.204.65.24:18080/river/hi_common_plus.git
  router:
    git:
      url: https://github.com/lyqiai/flutter_router
      ref: master
      path: annotation

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: 1.10.4
  json_serializable: ^3.5.0
  retrofit_generator:
    git:
      url: https://github.com/lyqiai/retrofit.dart.git
      ref: dev
      path: generator
  router_generator:
    git:
      url: https://github.com/lyqiai/flutter_router
      ref: master
      path: generator


flutter:
  uses-material-design: true
  assets:
    - assets/image/

  fonts:
    - family: DINAlternate-Bold
      fonts:
        - asset: assets/font/DIN-Alternate-Bold.ttf
          weight: 400
flutter run -v
[ +139 ms] executing: [/Users/liuyanqi/flutter_sdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +56 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 78910062997c3a836feee883712c241a5fd22983
[        ] executing: [/Users/liuyanqi/flutter_sdk/flutter/] git tag --points-at HEAD
[  +91 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.5
[   +9 ms] executing: [/Users/liuyanqi/flutter_sdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/liuyanqi/flutter_sdk/flutter/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +57 ms] executing: [/Users/liuyanqi/flutter_sdk/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +7 ms] executing: sw_vers -productName
[  +15 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.7
[        ] executing: sw_vers -buildVersion
[  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19H15
[   +1 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +43 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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 '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.
[  +20 ms] executing: /Users/liuyanqi/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[   +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[+1659 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 12.1
           Build version 12A7403
[   +2 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcdevice list --timeout 2
[   +4 ms] xcrun simctl list --json devices
[   +1 ms] executing: xcrun simctl list --json devices
[  +50 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[  +16 ms] /Users/liuyanqi/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +69 ms] Artifact Instance of 'AndroidMavenArtifacts' 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.
[   +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.
[  +38 ms] "flutter run" took 6,231ms.
[  +23 ms] Target file "lib/main.dart" not found.
[   +2 ms] 
           #0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:1087:9)
           #1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:348:19)
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:933:11)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:836:33)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart)
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
           #6      _rootRun (dart:async/zone.dart:1190:13)
           #7      _CustomZone.run (dart:async/zone.dart:1093:19)
           #8      _runZoned (dart:async/zone.dart:1630:10)
           #9      runZoned (dart:async/zone.dart:1550:10)
           #10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
           #11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:825:20)
           #12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
           #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
           #14     _rootRunUnary (dart:async/zone.dart:1198:47)
           #15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
           #23     _rootRunUnary (dart:async/zone.dart:1198:47)
           #24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #25     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #27     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #28     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #29     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #30     _rootRun (dart:async/zone.dart:1190:13)
           #31     _CustomZone.run (dart:async/zone.dart:1093:19)
           #32     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #33     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #34     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
           
           
[ +351 ms] ensureAnalyticsSent: 256ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 20, 2021
@markusaksli-nc
Copy link
Contributor

Your flutter run -v logs end with just

[  +23 ms] Target file "lib/main.dart" not found.

Could you provide the logs with the error you are experiencing?

@markusaksli-nc markusaksli-nc added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Jan 20, 2021
@pablo-threadable
Copy link

I had this error and found out I forgot to add this dependency to my app gradle

dependencies {
implementation platform('com.google.firebase:firebase-bom:26.3.0')

@lyqiai
Copy link
Author

lyqiai commented Jan 22, 2021

@pablo-threadable it not work for me

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 22, 2021
@lyqiai
Copy link
Author

lyqiai commented Jan 22, 2021

@markusaksli-nc My project tip could not find com.google.firebase:firebase-common
run flutter run:
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':firebase_core:debugCompileClasspath'.
Could not find com.google.firebase:firebase-common:.
Required by:
project :firebase_core

@markusaksli-nc
Copy link
Contributor

Could you provide your android/build.gradle?

@markusaksli-nc markusaksli-nc added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Jan 22, 2021
@lyqiai
Copy link
Author

lyqiai commented Jan 23, 2021

buildscript {
ext.kotlin_version = '1.3.71'
repositories {
// google()
// jcenter()

    maven { url'https://maven.aliyun.com/repository/google'}
    maven { url'https://maven.aliyun.com/repository/jcenter'}
    maven { url'http://maven.aliyun.com/nexus/content/groups/public'}
}

dependencies {
    classpath 'com.android.tools.build:gradle:3.5.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.google.gms:google-services:4.3.4'
    classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'

}

subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'androidx.core' &&
                    !details.requested.name.contains('androidx')) {
                details.useVersion "1.0.1"
            }
        }
    }
}

}

allprojects {
repositories {
// google()
// jcenter()

    maven { url'https://maven.aliyun.com/repository/google'}
    maven { url'https://maven.aliyun.com/repository/jcenter'}
    maven { url'http://maven.aliyun.com/nexus/content/groups/public'}
}

}

rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
delete rootProject.buildDir
}

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 23, 2021
@Georgevik
Copy link

I got the same issue. Just updating the firebase sdk in android/app/build.gradle worked for me:

rootProject.ext {
    set('FlutterFire', [
            FirebaseSDKVersion: '26.3.0'
    ])
}

@BenBoonya
Copy link

I got the same issue. Just updating the firebase sdk in android/app/build.gradle worked for me:

rootProject.ext {
    set('FlutterFire', [
            FirebaseSDKVersion: '26.3.0'
    ])
}

Confirm updating the Firebase sdk does work.

@markusaksli-nc
Copy link
Contributor

Please remove the deprecated maven repositories and replace them with

repositories {
        google()
        jcenter()
    }

@markusaksli-nc markusaksli-nc added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Jan 25, 2021
@lyqiai
Copy link
Author

lyqiai commented Jan 25, 2021

@Georgevik it worked for me. thanks!

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 25, 2021
@markusaksli-nc
Copy link
Contributor

Closing this as solved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Attention This issue needs maintainer attention. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants