You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.3 24D60 darwin-arm64, locale en-US)
• Flutter version 3.27.1 on channel stable at /Users/bartoszkrol/fvm/versions/3.27.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (7 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[!] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
✗ CocoaPods not installed.
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2024.2.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 83.0.3
• Dart plugin version 242.24931
[✓] Connected device (1 available)
• Chrome (web)
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 3 categories.
Dart Version
3.6.0
Steps to Reproduce
1. Import the latest version of the dio package in pubspec.yaml.
2. Use dio in your Dart/Flutter project.
3. Run the app on Flutter Web.
Expected Result
The application should compile and run correctly on the web platform.
Actual Result
The console shows an error 👇
../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' has fewer named arguments than those of overridden method 'Object with DioMixin.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:9:7: Context: This is the overridden method ('download'). class DioForBrowser with DioMixin implements Dio { ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' doesn't have the named parameter 'fileAccessMode' of overridden method 'Object with DioMixin.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:9:7: Context: This is the overridden method ('download'). class DioForBrowser with DioMixin implements Dio { ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' has fewer named arguments than those of overridden method 'Dio.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio-5.8.0+1/lib/src/dio.dart:241:20: Context: This is the overridden method ('download'). Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' doesn't have the named parameter 'fileAccessMode' of overridden method 'Dio.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio-5.8.0+1/lib/src/dio.dart:241:20: Context: This is the overridden method ('download'). Future<Response> download( ^
The text was updated successfully, but these errors were encountered:
Package
dio
Version
5.8.0+1
Operating-System
MacOS
Adapter
Default Dio
Output of
flutter doctor -v
Dart Version
3.6.0
Steps to Reproduce
Expected Result
The application should compile and run correctly on the web platform.
Actual Result
The console shows an error 👇
../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' has fewer named arguments than those of overridden method 'Object with DioMixin.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:9:7: Context: This is the overridden method ('download'). class DioForBrowser with DioMixin implements Dio { ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' doesn't have the named parameter 'fileAccessMode' of overridden method 'Object with DioMixin.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:9:7: Context: This is the overridden method ('download'). class DioForBrowser with DioMixin implements Dio { ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' has fewer named arguments than those of overridden method 'Dio.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio-5.8.0+1/lib/src/dio.dart:241:20: Context: This is the overridden method ('download'). Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/src/dio_impl.dart:18:20: Error: The method 'DioForBrowser.download' doesn't have the named parameter 'fileAccessMode' of overridden method 'Dio.download'. Future<Response> download( ^ ../../.pub-cache/hosted/pub.dev/dio-5.8.0+1/lib/src/dio.dart:241:20: Context: This is the overridden method ('download'). Future<Response> download( ^
The text was updated successfully, but these errors were encountered: