How I can change My app name

How I can change app name in android platform?

1 Like

In your apps config.xml. Take a look at

1 Like

I changed app name but when build app again automatic change to default, please you explain step by step!

for example in android.
in config.xml

<name>App Name</name>

this will change app_name in platforms/android/res/values/strings.xml

<string name="app_name">App Name</string>

after change name must build or no?

1 Like

when you do ionic run android, it will build it first and then deploy to device.

you can build it first and see if the stirings.xml change to whatever name you put in the config.xml

When I build again reset app name to default name i.e. HelloCordova.

can you post your config.xml code here?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> Dooz An Ionic Framework and Cordova project. Ionic Framework Team
1 Like

"<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

An Ionic Framework and Cordova project.

Ionic Framework Team

1 Like

this is ile link

1 Like

weird, this should change your android app name to Dooz.
Can you check what’s ‘app_name’ in platforms/android/res/values/strings.xml file

<?xml version='1.0' encoding='utf-8'?>
       <string name="app_name">my_app</string> <= did this change to Dooz?
        <string name="launcher_name">@string/app_name</string>
        <string name="activity_name">@string/launcher_name</string>

and in platforms/android/AndroidMainifest.xml file

<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">


 <intent-filter android:label="@string/launcher_name">

name same and this path file platforms/android/AndroidMainifest.xml:

1 Like

Can I change “launcher_name” for android in config.xml? String.xml rewrite in build, and changes manually lost .



you can modify launcher_name value in string.xml.
for example.

 <string name="launcher_name">@string/app_name</string>


 <string name="launcher_name">[Type Your New App Name Here]</string>

when you do this change, @string/launcher_name will not change when @string/app_name changes anymore.

===== OR ======

1 Like

You must change your project file name / config.xml tag and then must build your file. ionic build android if they do not change, you should change the name in config.xml, save your resource for android, remove and re-install the platform.

1 Like

Dont change app name while your app is running. It wont take changes.

1 Like

Step 1 : Change you App name in config.xml
Step 2 : Remove android platform
Step 3 : Add android platform
Step 4 : Build your apk file.

1 Like

I had to kill a leftover node.exe process that was still running (in Windows Task Manger). Only then did my config.xml changes stop reverting to default values.