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

我在Windows10環境下無法正常使用fair完整功能,請問團隊是否有人研究過呢:環境(fair3),flutter3.3.0。存在警告,不支持的語法或者沒有任何輸出等情況。 #293

Open
540765 opened this issue May 10, 2023 · 2 comments

Comments

@540765
Copy link

540765 commented May 10, 2023

Attention

Issue用于问题跟踪,技术咨询/讨论,请移步至讨论组 Gitter

自查步骤(新手必读)

  1. 核对flutter版本与readme说明,确认该版本已被Fair支持
  2. 核查fair_version分支版本于flutter一致,且等同于第一步版本号
  3. 如果尚未看过文档,请先运行自带的sample,能跑起来再接入app
  4. 遇到编译错误,请查看终端日志,过滤fair关键词
  5. 到github提issue,或gitter。留档/解决,提供flutter环境信息flutter doctor --verbose

问题

简要说明是什么问题

环境信息

执行下面的语句,并粘贴结果

flutter doctor --verbose

提供Fair版本号

dependencies:
  fair: x.y.z

复现操作【可选】

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

预期【可选】

A clear and concise description of what you expected to happen.

相关截图【可选】

If applicable, add screenshots to help explain your problem.

其他【可选】

Add any other context about the problem here.

@540765 540765 changed the title 我在Windows10環境下無法正常使用fair完整功能,請問團隊是否有人研究過呢: 我在Windows10環境下無法正常使用fair完整功能,請問團隊是否有人研究過呢:環境(fair3),flutter3.3.0。存在警告,不支持的語法或者沒有任何輸出等情況。 May 10, 2023
@yyzl0418
Copy link
Contributor

Attention

Issue用于问题跟踪,技术咨询/讨论,请移步至讨论组 Gitter

自查步骤(新手必读)

  1. 核对flutter版本与readme说明,确认该版本已被Fair支持
  2. 核查fair_version分支版本于flutter一致,且等同于第一步版本号
  3. 如果尚未看过文档,请先运行自带的sample,能跑起来再接入app
  4. 遇到编译错误,请查看终端日志,过滤fair关键词
  5. 到github提issue,或gitter。留档/解决,提供flutter环境信息flutter doctor --verbose

问题

简要说明是什么问题

环境信息

执行下面的语句,并粘贴结果

flutter doctor --verbose

提供Fair版本号

dependencies:
  fair: x.y.z

复现操作【可选】

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

预期【可选】

A clear and concise description of what you expected to happen.

相关截图【可选】

If applicable, add screenshots to help explain your problem.

其他【可选】

Add any other context about the problem here.

Attention

Issue用于问题跟踪,技术咨询/讨论,请移步至讨论组 Gitter

自查步骤(新手必读)

  1. 核对flutter版本与readme说明,确认该版本已被Fair支持
  2. 核查fair_version分支版本于flutter一致,且等同于第一步版本号
  3. 如果尚未看过文档,请先运行自带的sample,能跑起来再接入app
  4. 遇到编译错误,请查看终端日志,过滤fair关键词
  5. 到github提issue,或gitter。留档/解决,提供flutter环境信息flutter doctor --verbose

问题

简要说明是什么问题

环境信息

执行下面的语句,并粘贴结果

flutter doctor --verbose

提供Fair版本号

dependencies:
  fair: x.y.z

复现操作【可选】

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

预期【可选】

A clear and concise description of what you expected to happen.

相关截图【可选】

If applicable, add screenshots to help explain your problem.

其他【可选】

Add any other context about the problem here.

能给出具体的问题吗?

@540765
Copy link
Author

540765 commented May 10, 2023

PS D:\project\flutter\fair\flutter_fair_demo1> flutter doctor --verbose
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [版本 10.0.19045.2846], locale zh-CN)
• Flutter version 3.3.0 on channel stable at D:\system\flutter\flutter3.7.9
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffccd96b62 (8 months ago), 2022-08-29 17:28:57 -0700
• Engine revision 5e9e0e0aa8
• Dart version 2.18.0
• DevTools version 2.15.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at D:\system\androidsdk
• Platform android-33-ext5, build-tools 33.0.2
• ANDROID_HOME = D:\system\androidsdk
• Java binary at: D:\system\java\jdk\jdk1.8\jdk1_8\bin\java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (version 2022.1)
• Android Studio at D:\program\android-studio-2022.1.1.21
• 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
X Unable to find bundled Java version.
• Try updating or re-installing Android Studio.

[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.19045.2846]
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.92
• Edge (web) • edge • web-javascript • Microsoft Edge 113.0.1774.35

[√] HTTP Host Availability
• All required HTTP hosts are available

! Doctor found issues in 3 categories.

//yml
dependencies:
flutter:
sdk: flutter
fair: 3.2.1

微信截图_20230510104625

我只在windows環境下使用才遇到這個問題,同時,我執行fair_cli命令總是得到找不到系統路徑錯誤,我發現不止是我遇到這個問題。回到上面問題,我曾經成功打包出json產物,但是fairProps部分總是無法得到數據,我確定是根據官方文檔例子來運行的,所以讓我很擔心是否存在隱患。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants