Build fails with the following error:
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 resolve project :firebase_core_web.
Required by:
project :firebase_core
> Unable to find a matching configuration of project :firebase_core_web:
- None of the consumable configurations have attributes.
To Reproduce
Import firebase_core: ^0.4.3+1 in your pubspec.yaml file.
Expected behavior
To build without error
Additional context
Flutter doctor verbose:
✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-US)
• Flutter version 1.12.13+hotfix.5 at /Users/johnwehrle/Flutter/flutter
• Framework revision 27321ebbad (26 hours ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/johnwehrle/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• Pixel 2 • HT8671A02214 • android-arm64 • Android 10 (API 29)
• No issues found!
Process finished with exit code 0
Build fails with the following error:
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.
To Reproduce
Import firebase_core: ^0.4.3+1 in your pubspec.yaml file.
Expected behavior
To build without error
Additional context
Flutter doctor verbose:
✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-US)
• Flutter version 1.12.13+hotfix.5 at /Users/johnwehrle/Flutter/flutter
• Framework revision 27321ebbad (26 hours ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/johnwehrle/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• Pixel 2 • HT8671A02214 • android-arm64 • Android 10 (API 29)
• No issues found!
Process finished with exit code 0