Flutter_App开发

Flutte报错:Trying to embed a platf

2020-01-07  本文已影响0人  坤哥爱卿

报错如下:

Trying to embed a platform view but the PaintContext does not support embedding

解决方法:

在工程的ios->Runner->info.plist文件中添加一句

<key>io.flutter.embedded_views_preview</key>
<true/>
上一篇 下一篇

猜你喜欢

热点阅读