You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (maxPluginCompileSdkVersion > projectCompileSdkVersion) {
428
471
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")
429
472
}
473
+
if (maxPluginNdkVersion != projectNdkVersion) {
474
+
project.logger.error("One or more plugins require a higher Android NDK version.\nFix this issue by adding the following to ${project.projectDir}${File.separator}build.gradle:\nandroid {\n ndkVersion ${maxPluginNdkVersion}\n ...\n}\n")
475
+
}
430
476
}
431
477
}
432
478
}
@@ -963,7 +1009,7 @@ class FlutterPlugin implements Plugin<Project> {
963
1009
}
964
1010
}
965
1011
configurePlugins()
966
-
detectLowCompileSdkVersion()
1012
+
detectLowCompileSdkVersionOrNdkVersion()
967
1013
return
968
1014
}
969
1015
// Flutter host module project (Add-to-app).
@@ -1015,7 +1061,7 @@ class FlutterPlugin implements Plugin<Project> {
0 commit comments