Git Product home page Git Product logo

Comments (8)

soloxiao avatar soloxiao commented on August 30, 2024

截屏2022-05-25 下午2 25 49

如上图,aspectd.dart会被添加到上面的路径,而不是在flutter_tools/bin目录下。 patch apply后修改的文件如下:

截屏2022-05-25 下午2 30 44

from beike_aspectd.

jincan-he avatar jincan-he commented on August 30, 2024
截屏2022-05-25 下午2 25 49

如上图,aspectd.dart会被添加到上面的路径,而不是在flutter_tools/bin目录下。 patch apply后修改的文件如下:
截屏2022-05-25 下午2 30 44

我这边在上述的路径下没有生成对应的文件,并且本地也没有修改记录。怀疑是apply patch失败了,但是没有产生任何报错

from beike_aspectd.

soloxiao avatar soloxiao commented on August 30, 2024

如果git apply不生效的话,可以考虑手动合并,或者使用下面这个gist将相应的文件覆盖即可

https://gist.github.com/soloxiao/b67750c1447689796f6bad4b14bbb313

from beike_aspectd.

jincan-he avatar jincan-he commented on August 30, 2024

我的同事根据你的patch重新写了文件,然后生成的patch是可用的。

所以应该是patch生成的有问题。我这边是用的Flutter3.0的stable分支,commit为:ee4e09cce01d6f2d7f4baebd247fde02e5008851

请问是否和分支、commit有关?
若是有关,是否可以在介绍文档中进行补充说明切换到对应的git commit

from beike_aspectd.

soloxiao avatar soloxiao commented on August 30, 2024

我的同事根据你的patch重新写了文件,然后生成的patch是可用的。

所以应该是patch生成的有问题。我这边是用的Flutter3.0的stable分支,commit为:ee4e09cce01d6f2d7f4baebd247fde02e5008851

请问是否和分支、commit有关? 若是有关,是否可以在介绍文档中进行补充说明切换到对应的git commit

https://gist.github.com/soloxiao/9efc4aac89d8db84692af3e798d9b584
麻烦使用上面这个patch试一下呢?

from beike_aspectd.

jincan-he avatar jincan-he commented on August 30, 2024

依旧不行,切换到stable分支之后,apply之后没有文件变更。

from beike_aspectd.

soloxiao avatar soloxiao commented on August 30, 2024

依旧不行,切换到stable分支之后,apply之后没有文件变更。

不好意思回复晚了,最近比较忙。

我已经更新了最新的patch,这个patch应该没有问题了。
需要注意的是最新的patch需要在flutter根目录下执行,如下图

image

from beike_aspectd.

jincan-he avatar jincan-he commented on August 30, 2024

目前应用依旧是报错。不知道是不是和我们的flutter版本或当前所处的commit不同有关。不过根据patch文件手动修改已经可以了。

from beike_aspectd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.