Add quotes to Gradle NDK version error message (#109026)

This commit is contained in:
Daco Harkes
2022-08-07 13:46:08 +02:00
committed by GitHub
parent 66630d5a37
commit c2e58cdb18
2 changed files with 2 additions and 2 deletions

View File

@@ -482,7 +482,7 @@ class FlutterPlugin implements Plugin<Project> {
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")
}
if (maxPluginNdkVersion != projectNdkVersion) {
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")
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")
}
}
}

View File

@@ -77,7 +77,7 @@ void main() {
One or more plugins require a higher Android NDK version.
Fix this issue by adding the following to ${projectGradleFile.path}:
android {
ndkVersion 21.4.7075529
ndkVersion "21.4.7075529"
...
}