Change application name on android platform

i use capacitor in my ionic/vuejs application.
i only want to change the name of the generated android app.
i have changed in capacitor.config.ts but itdoes not work!

i’m new to capacitor, can you please give me a hand ?

These are the other places:

  • applicationId in android/app/build.gradle
  • android/app/src/main/res/values/strings.xml

If you want to update the package name to match, then you need to update the following items. For the example our new package is


  • manifest -> package
  • manifest -> application -> activity -> android:name
<?xml version='1.0' encoding='utf-8'?>
<manifest package="" xmlns:android="">
    <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
        <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/title_activity_main" android:launchMode="singleTask" android:name="" android:theme="@style/AppTheme.NoActionBarLaunch">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
        <!-- Other Stuff -->


Notice you also have to update the path. Before it was android/app/src/main/java/io/ionic/starter/




thanks alot. it relly helps

1 Like