FlutterPlugin 无法加载

创建FlutterPlugin时, XXXPlugin.java文件下,

public class FlutterXXXXPlugin implements FlutterPlugin, MethodCallHandler 

其中FlutterPlugin无法正常加载,代码一片红
解决方法:
select File > Open from the menu, and select the hello/example/android/build.gradle file.

你可能感兴趣的:(FlutterPlugin 无法加载)