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.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-TW)
• Flutter version 3.16.5 on channel stable at /Users/linyunxuan/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
• Engine revision 3f3e560236
• Dart version 3.2.3
• DevTools version 2.28.4
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/linyunxuan/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/linyunxuan/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.
Download at: https://developer.apple.com/xcode/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.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
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.85.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.199
[✓] Network resources
• All expected network resources are available.
Dart Version
3.2.3
Steps to Reproduce
When using get() on Android, everything works fine. However, when using it on the web, it works on localhost but, when deployed on the server, it sends options first. Since the API being used is JSP and cannot handle options, it results in an API error. Is there any way to make get() work correctly?
The API server has set up Access-Control-Allow.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered:
Package
dio
Version
5.3.3
Operating-System
Web
Output of
flutter doctor -v
Dart Version
3.2.3
Steps to Reproduce
When using get() on Android, everything works fine. However, when using it on the web, it works on localhost but, when deployed on the server, it sends options first. Since the API being used is JSP and cannot handle options, it results in an API error. Is there any way to make get() work correctly?
The API server has set up Access-Control-Allow.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: