Flutter Engine 编译指定版本

查看 flutter 对应的 engine 版本

cat /path/to/flutter/bin/internal/engine.version

在 engine 代码中,checkout 到对应的版本

cd /path/to/engine/src/flutter
git reset --hard 7375a0f414bde4bc941e623482221db2fc8c4ab5
gclient sync --with_branch_heads --with_tags --verbose

你可能感兴趣的:(Flutter Engine 编译指定版本)