Repository: flutter
Issue: Flutter installing old build tools version
Labels: platform-android,tool,has reproducible steps,P3,found in release: 2.2,found in release: 2.3,team-android,triaged-android

Hey, 

I've installed the `build-tools` via android studio, and it downloaded the `30.0.3` version.
Then, when running the demo application, flutter tried to install the `29.0.2` version.
As in [here](https://developer.android.com/studio/releases/build-tools) the `30.0.*` version seems to be stable. 

This was already mentioned in #41462 with an older version, but the thread is locked.
As they said, this is not a bug, but it might be interesting to take a look on.

Thanks

## Steps to Reproduce

<!-- Please tell us exactly how to reproduce the problem you are running into. -->

1. Remove any `$ANDROID_HOME/build-tools/*` folders.
2. Run `flutter create bug`
3. Run the app `cd bug && flutter run`
4. Flutter will download the `29.0.2` build_tools

## Logs

<details>
<summary>Logs</summary>

```
Launching lib/main.dart on Google Nexus 5 in debug mode...
Checking the license for package Android SDK Build-Tools 29.0.2 in /usr/lib/android-sdk/licenses
License for package Android SDK Build-Tools 29.0.2 accepted.            
Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)".  
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready.      
Installing Android SDK Build-Tools 29.0.2 in /usr/lib/android-sdk/build-tools/29.0.2
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete.   
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished.   
Running Gradle task 'assembleDebug'...                                 ⣟
``` 
```
[✓] Flutter (Channel stable, 2.2.1, on Linux, locale en_US.UTF-8)
    • Flutter version 2.2.1 at /home/enzodtz/flutter
    • Framework revision 02c026b03c (25 hours ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /usr/lib/android-sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 4.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] VS Code (version 1.56.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.22.0

[✓] Connected device (3 available)
    • Google Nexus 5 (mobile) • 192.168.56.101:5555 • android-x86    • Android 9
      (API 28)
    • Linux (desktop)         • linux               • linux-x64      • Linux
    • Chrome (web)            • chrome              • web-javascript • Google
      Chrome 90.0.4430.212

• No issues found!
```

</details>