flutter - App Name Not Updating in Android Recent Apps View Despite Manifest and Strings Configuration - Stack Overflow

admin2025-04-30  0

I've updated my Flutter app's name so that it displays correctly as "ATTJ SH" on the Android home screen. However, when I swipe up to view the recent apps (the Android app switcher), the app still shows as "Application" at the top-left corner instead of "ATTJ SH."

I have the following setup in AndroidManifest.xml:

<application
    android:label="@string/app_name"
    android:name="${applicationName}"
    android:icon="@mipmap/ic_launcher">

    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        ...>
    </activity>
</application>

And in strings.xml:

<resources>
    <string name="app_name">ATTJ SH</string>
</resources>

I've run flutter clean, reinstalled the app, and confirmed that there are no additional strings.xml files in other locales that might override the name. The home screen shows "ATTJ SH" correctly, but the recent apps view still shows "Application."

What other configurations or settings could cause this discrepancy? How can I ensure that the app name displayed in the app switcher matches the updated name?

enter image description here enter image description here

I've updated my Flutter app's name so that it displays correctly as "ATTJ SH" on the Android home screen. However, when I swipe up to view the recent apps (the Android app switcher), the app still shows as "Application" at the top-left corner instead of "ATTJ SH."

I have the following setup in AndroidManifest.xml:

<application
    android:label="@string/app_name"
    android:name="${applicationName}"
    android:icon="@mipmap/ic_launcher">

    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        ...>
    </activity>
</application>

And in strings.xml:

<resources>
    <string name="app_name">ATTJ SH</string>
</resources>

I've run flutter clean, reinstalled the app, and confirmed that there are no additional strings.xml files in other locales that might override the name. The home screen shows "ATTJ SH" correctly, but the recent apps view still shows "Application."

What other configurations or settings could cause this discrepancy? How can I ensure that the app name displayed in the app switcher matches the updated name?

enter image description here enter image description here

Share Improve this question asked Jan 5 at 1:01 yaoyao 1
Add a comment  | 

1 Answer 1

Reset to default 0

Use package rename to easily rename your app in all platforms without missing anything. Follow the instructions in package documentation

转载请注明原文地址:http://anycun.com/QandA/1746021595a91459.html