未解决的参考:Facade Flutter插件

时间:2019-12-01 11:05:13

标签: android flutter

当将flutter插件添加到现有的Android和iOS应用时,它可以完美地工作,将gradle更新到3.5.2时构建失败,并出现Unresolved reference: facade错误,这是flutter插件,这是我如何导入颤振类:

import io.flutter.facade.Flutter
import io.flutter.facade.FlutterFragment

以及如何使用它:

flutterView = Flutter.createView(
            this,
            lifecycle,
            "rout"
    )

我成功地遵循了本教程:https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps

为解决此问题,我尝试使高速缓存无效并重新启动,启动清理,重建并重新安装启动插件。

0 个答案:

没有答案