Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't Change Android App Name in Settings

I created an app with the wizard in ADT Eclipse. I edited the app name in strings.xml. This changed the label on the launcher icon. However if I go into Settings > Apps, it shows the old name. I tried uninstalling the app, cleaning, and running again, but it still shows the old name in settings. The old app name string does not exist in any file in the project. I don't know where it's coming from. How can I get it so that settings shows the new app name?

strings.xml

<resources>
<string name="app_name">My New App Name/string>
...
</resources>

manifest.xml

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light" >
    <activity android:name=".Main">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
...
</application>
like image 420
Tom Kincaid Avatar asked Oct 20 '22 21:10

Tom Kincaid


1 Answers

Replace

<activity android:name=".Main">

By

<activity
    android:name=".Main"
    android:label="@string/app_name">
like image 145
MagicBeamer Avatar answered Nov 05 '22 20:11

MagicBeamer