Unverified Commit e31d88f9 authored by Michael Klimushyn's avatar Michael Klimushyn Committed by GitHub

Downgrade the AndroidX warning (#39147)

Originally we wanted to cast as wide of a net and make the warning as
prominent as possible. Recently we've received feedback that the false
positives are more harmful than not, so downgrading the loud message to
a single line warning.
parent d8b728ca
...@@ -742,10 +742,7 @@ Future<void> _buildGradleProjectV2( ...@@ -742,10 +742,7 @@ Future<void> _buildGradleProjectV2(
if (exitCode != 0) { if (exitCode != 0) {
if (potentialAndroidXFailure) { if (potentialAndroidXFailure) {
printError('*******************************************************************************************'); printStatus('AndroidX incompatibilities may have caused this build to fail. See https://goo.gl/CP92wY.');
printError('The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.');
printError('See https://goo.gl/CP92wY for more information on the problem and how to fix it.');
printError('*******************************************************************************************');
BuildEvent('android-x-failure').send(); BuildEvent('android-x-failure').send();
} }
throwToolExit('Gradle task $assembleTask failed with exit code $exitCode', exitCode: exitCode); throwToolExit('Gradle task $assembleTask failed with exit code $exitCode', exitCode: exitCode);
......
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