printError('Make sure you have run "pub upgrade" in all the directories mentioned above.');
if(dependencies.hasConflictsAffectingFlutterRepo)
printError('For packages in the flutter repository, try using "flutter update-packages --upgrade" to do all of them at once.');
printError('If this does not help, to track down the conflict you can use "pub deps --style=list" and "pub upgrade --verbosity=solver" in the affected directories.');
return1;
}
}
if(hadInconsistentRequirements){
if(foundAnyInFlutterRepo)
printError('You may need to run "flutter update-packages --upgrade".');