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
flutter侧白屏 Failed to create platform view rendering surface #34
Comments
方便的话把你的 native 代码贴上来 |
|
flutter 端的代码呢,这个确实没办法看出来什么,还有接入的方式有点奇怪啊,可能需要先确认下你的编译方式是否正常 |
你把原生那块的写法改成跟 demo 一样的先试试吧 |
target 'Runner' do end |
你 Flutter 版本是一样的嘛? |
一样啊 就装了一个2.2.3版本 |
|
hyflutterlib 这个啥玩意,你本地的,这份代码我是跑步起来的 |
漏删了 没有用到 你删除就行,能跑起来的,但是进入flutter页面黑屏的 |
这依赖内部源吧,确实没跑起来,Swift的例子我demo 也有,你自己调试看看吧,先关闭了 |
Describe the bug
platform_view.cc(81):Failed to create platform view rendering surface
swift 项目,native侧 跳转flutter,跳转过去后,界面渲染不出来(白屏),点击界面,上面的按钮可以正常显示,flutter监视器 上可以正常看到按钮大小位置(swift项目,你们demo项目正常,对比了代码木有找到原因,flutter侧代码完全用demo里面的,猜测是native侧的问题)
Expected behavior
Flutter Doctor
OS & Device
Error logs
platform_view.cc(81):Failed to create platform view rendering surface
The text was updated successfully, but these errors were encountered: