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

fonts没有自动生成 #5

Closed
chenjie1219 opened this issue Jun 9, 2022 · 5 comments
Closed

fonts没有自动生成 #5

chenjie1219 opened this issue Jun 9, 2022 · 5 comments

Comments

@chenjie1219
Copy link

No description provided.

@YK-Unit
Copy link
Contributor

YK-Unit commented Jun 10, 2022

请问使用的是 flr-cli 哪个版本?
PS:目前最新版 v3.2.0 已经支持 R.fontFamily 的生成。

@chenjie1219
Copy link
Author

chenjie1219 commented Jun 13, 2022

image

@YK-Unit
Copy link
Contributor

YK-Unit commented Jun 13, 2022

image

可以提供下其他额外信息吗,包括但是不限于:

  • 开发机的操作系统信息
  • flutter版本信息
  • 工程demo链接

@chenjie1219
Copy link
Author

r_test.zip
操作系统 macOS Monterey
flutter版本3.0.2

@YK-Unit
Copy link
Contributor

YK-Unit commented Jun 18, 2022

r_test.zip 操作系统 macOS Monterey flutter版本3.0.2

你这个字体资源存放目录和要扫描的字体资源目录路径声明不匹配导致的。

建议参考我们给的示例flutter_hello_app进行调整:

image

@YK-Unit YK-Unit closed this as completed Jun 18, 2022
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