我正在尝试在我的项目中使用 flutter_foreground_plugin,但我很难理解如何编辑 Android list 文件。
我做错了什么?我收到错误
error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin
flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin());
最佳答案
打开 FlutterForegroundPlugin.java
从 private FlutterForegroundPlugin() {}
更改为 public FlutterForegroundPlugin() {}
关于android - 正确编辑 android list ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66583241/