the android flavor document is incorrect
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
从 src/content/deployment/flavors.md 开始,将其中的 build.gradle.kts 示例与最新 Flutter 项目生成的 build.gradle.kts 文件进行比较。执行文档中所述的 flavor 设置和启动步骤,以找出语法问题和缺失的说明;当无需未记录的更改即可成功按照示例操作时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Page URL
https://docs.flutter.dev/deployment/flavors/
Page source
https://github.com/flutter/website/tree/main/src/content/deployment/flavors.md
Describe the problem
I'm not familiar with build flavors or Kotlin, and I tried to follow the documentation, but it is incorrect. Even the code provided at the first stage—along with the instructions to run the build to launch the application and verify everything—contains syntax issues and does not work.
If something needs to be filled in, what is it? If something is missing, what exactly is missing?
The sample code and instructions don't work. Moreover, the build.gradle.kts file in the latest Flutter project is different from what is mentioned in the documentation.
Expected fix
being able to follow the documentation without any issue
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
- 主要语言
- Dart
- 星标
- 3.1k
- 派生
- 3.5k
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 88
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flutter/website 的其他 Issue
-
act.await-dev-pr co.request d.new-feature dev.flavors e1-hours p2-medium st.blocked t.cli-tools target.web
难度 2/5 1-3 小时 新手友好度 78/100
flutter/website#14165 · 1 条评论 ·
维护者通常 1 天内回复
-
a.fwe a.tut.tutorial co.PRs-welcome co.volunteer e0-minutes fix.bug fix.examples from.page-issue p2-medium
难度 2/5 1-3 小时 新手友好度 62/100
flutter/website#14158 · 1 条评论 ·
维护者通常 1 天内回复
-
act.await-dev-pr d.enhancement e1-hours p2-medium st.blocked target.web
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
from.page-issue p2-medium
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
Document the `use-explicit-plural-values` gen-l10n option可能重新可做 @busradansmn 于 27 天前认领,目前没有进行中的 PR。 未关闭act.await-dev-pr d.enhancement e0-minutes p2-medium t.cli-tools t.i18n t.l10n
难度 2/5 1-3 小时 新手友好度 82/100
flutter/website#13993 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
finamp-app/finamp#1920 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
flutter/flutter#197796 · 1 条评论 ·
维护者通常 1 天内回复