project.logger.error("One or more plugins require a higher Android SDK version.\nFix this issue by adding the following to ${project.projectDir}${File.separator}build.gradle:\nandroid {\n compileSdkVersion ${maxPluginCompileSdkVersion}\n ...\n}\n")
}
}
}
}
}
}
/**
* Returns `true` if the given path contains an `android/build.gradle` file.
*/
...
...
@@ -933,6 +961,7 @@ class FlutterPlugin implements Plugin<Project> {
}
}
configurePlugins()
detectLowCompileSdkVersion()
return
}
// Flutter host module project (Add-to-app).
...
...
@@ -984,6 +1013,7 @@ class FlutterPlugin implements Plugin<Project> {