-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Flutter3.0.0版本没有生成aspectd.dart文件 #6
Comments
如果git apply不生效的话,可以考虑手动合并,或者使用下面这个gist将相应的文件覆盖即可 https://gist.github.com/soloxiao/b67750c1447689796f6bad4b14bbb313 |
我的同事根据你的patch重新写了文件,然后生成的patch是可用的。 所以应该是patch生成的有问题。我这边是用的Flutter3.0的stable分支,commit为:ee4e09cce01d6f2d7f4baebd247fde02e5008851 请问是否和分支、commit有关? |
https://gist.github.com/soloxiao/9efc4aac89d8db84692af3e798d9b584 |
依旧不行,切换到stable分支之后,apply之后没有文件变更。 |
目前应用依旧是报错。不知道是不是和我们的flutter版本或当前所处的commit不同有关。不过根据patch文件手动修改已经可以了。 |
在Flutter3.0环境下执行:
cd ...path/to/flutter/packages/flutter_tools/
git apply --3way path-for-beike_aspectd-package/inner/flutter_tools.patch
rm ../../bin/cache/flutter_tools.stamp
之后没有反应,flutter_tools/bin目录下没有aspectd.dart文件。
执行第二步apply之后本地没有任何代码变化,git status是clean的。
The text was updated successfully, but these errors were encountered: