Unverified Commit 3280f234 authored by Martin Kustermann's avatar Martin Kustermann Committed by GitHub

Use only one message for NDK discovery, remove accidental newline (#13348)

parent 2352e31f
......@@ -120,13 +120,9 @@ class AndroidWorkflow extends DoctorValidator implements Workflow {
messages.add(new ValidationMessage('Android SDK at ${androidSdk.directory}'));
messages.add(new ValidationMessage(androidSdk.ndkDirectory == null
? 'Unable to locate Android NDK.\n'
? 'Android NDK location not configured (this optional configuration is useful for native profiling support)'
: 'Android NDK at ${androidSdk.ndkDirectory}'));
messages.add(new ValidationMessage(androidSdk.ndkCompiler == null
? 'Unable to locate compiler in Android NDK.\n'
: 'Compiler in Android NDK at ${androidSdk.ndkCompiler}'));
String sdkVersionText;
if (androidSdk.latestVersion != null) {
sdkVersionText = 'Android SDK ${androidSdk.latestVersion.buildToolsVersionName}';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment