Repository: flutter
Issue: Issue of gradle.properties file when writing native code.
Labels: platform-android,tool,t: gradle,has reproducible steps,P2,found in release: 3.3,found in release: 3.5,team-android,triaged-android

## Steps to Reproduce

1. Create a new flutter project and then add a `base-application-name` property in gradle.properties with any name to specify a new name for application tag of AndroidManifest.xml(for ${applicationName}) according to this: [flutter.gradle](https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/flutter.gradle#L261)
2.  When building the project using default `flutter run` command, and inspecting the generated AndroidManifest.xml file of the generated apk in build folder at `$PROJECT_ROOT/build/app/outputs/apk/debug/app-debug.apk` the property of AndroidManifest.xml ({applicationName}) is not replaced with the one specified by base-application-name property and instead is replaced by the default `android.app.Application`.
3. But when building the same app using the android native build method (after opening the android directory as an android project and doing gradle sync and other things..) the build file which is generated correctly replaces the applicationName property.

**Expected results:** 
The gradle.properties file correctly replaces the name of application in place of {applicationName} with the one specified by `base-application-name` property in gradle.properties.

**Actual results:** 
The generated AndroidManifest.xml file has the default name of `android.app.Application` instead of the name specified.


**Flutter Doctor**
```
C:\>flutter doctor -v
[√] Flutter (Channel stable, 3.3.4, on Microsoft Windows [Version 10.0.22621.525], locale en-US)
    • Flutter version 3.3.4 on channel stable at
      C:\Users\myname\AppData\Local\Flutter\flutter_windows_2.10.3-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (3 weeks ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at G:\Android\Sdk\
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = G:\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\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.13+0-b1751.21-8125866)

[√] VS Code (version 1.71.2)
    • VS Code at C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.46.0

[√] Connected device (4 available)
    • ASUS X00TD (mobile) • J7AAGF0408905JK • android-arm64  • Android 9 (API 28)
    • Windows (desktop)   • windows         • windows-x64    • Microsoft Windows [Version 10.0.22621.525]
    • Chrome (web)        • chrome          • web-javascript • Google Chrome 106.0.5249.119
    • Edge (web)          • edge            • web-javascript • Microsoft Edge 105.0.1343.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```