-
Notifications
You must be signed in to change notification settings - Fork 1
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
运行 demo 无 aop 效果 #1
Comments
可能是替换的位置不对,这个和你用的flutter的环境有关系.可以试试下面的几个地方替换:
是否能够注入成功一切以我的demo是否能够注入成功为标准,需要注意的点:
|
自己编译的时候好像提示找不到FlutterProgramTransformer, |
@LDouble 可以注释掉再编译试一试, 可以参考一下这篇文章:https://juejin.cn/post/7034720269360955405 |
flutter_macos_stable/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot fvm 安装的flutter目录下,没有找到这个文件目录呢。flutter_macos_stable/bin/cache/dart-sdk/bin/snapshots |
Flutter 2.5.3 • channel unknown • unknown source Framework • revision 18116933e7 (9 weeks ago) • 2021-10-15 10:46:35 -0700 Engine • revision d3ea636dc5 Tools • Dart 2.14.4
按照最简单的直接替换 frontend_server.dart.snapshot 文件,运行项目,点击按钮,hook 方法并没有执行
The text was updated successfully, but these errors were encountered: