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.
This commit is contained in:
committed by
GitHub
parent
d8b728caa7
commit
e31d88f9c9
@@ -742,10 +742,7 @@ Future<void> _buildGradleProjectV2(
|
||||
|
||||
if (exitCode != 0) {
|
||||
if (potentialAndroidXFailure) {
|
||||
printError('*******************************************************************************************');
|
||||
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('*******************************************************************************************');
|
||||
printStatus('AndroidX incompatibilities may have caused this build to fail. See https://goo.gl/CP92wY.');
|
||||
BuildEvent('android-x-failure').send();
|
||||
}
|
||||
throwToolExit('Gradle task $assembleTask failed with exit code $exitCode', exitCode: exitCode);
|
||||
|
||||
Reference in New Issue
Block a user