flutter工程报错:One or more plugins require a higher Android SDK version._flutter

找到模块对应的 build.gradle ,将 android ->compileSdkVersion 改成推荐的版本。

flutter工程报错:One or more plugins require a higher Android SDK version._android_02

依次点击 Tools -> SDKManager。

flutter工程报错:One or more plugins require a higher Android SDK version._android_03

在 SDK Plaforms 中勾选对应的 SDK版本,然后点击 Apply -> OK。

flutter工程报错:One or more plugins require a higher Android SDK version._flutter_04