-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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方式集成Flutter_boost到项目中,跳转Flutter页面后再按返回键崩溃 #646
Comments
先跑一下demo ,demo 没有这个问题哦 ,你再核对你下你想吗代码 |
是的,demo没问题,报错提示感觉是编译后分多个dex,然后在classes3.dex中找不到FlutterActivityAndFragmentDelegate。 可以尝试在使用了MultiDex的项目中尝试,可能会有意向不到的结果。 |
我也遇到这个问题了 请问怎么解决呢? Demo项目没问题 引进来 打开的时候也没问题的 返回一下就崩溃 |
这个问题被大佬关闭了,可以重新提交一个issues,让大佬们重视起来!! |
这个问题最后楼主回复是因为集成了听云的sdk导致,应该是调用了一个没有插桩成功的方法导致了崩溃,把听云停了就可用了 |
其实是MultiDex分包的问题,你把听云停了,或者某天加了一个三方库,boost突然就好了。 |
这个和boost 本身没有关系,那需要从“MultiDex分包的问题”找解决方案了。 |
同遇到 比较奇怪的是为啥 onResume没事 onPause就奔溃 |
是听云的问题,给根目录添加听云配置文件tingyun.properties 配置noInstrumentedClasses=xx/xx,com/idlefish/flutterboost |
使用boost版本:'task/task_v1.12.13_support_hotfixes'集成到项目后,能正常跳转到flutter页面,但在flutter页面返回到native时出现崩溃,崩溃信息如下:
The text was updated successfully, but these errors were encountered: