Programming/android2019. 1. 24. 10:16

manifests/AndroidManifest.xml 에서 android:label로 존재하는데 이걸 바로 수정해도 되지만

 <?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myapplication">

<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">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>



res/values/strings.xml 에 app_name 이라는 string이 존재하고 이걸 변경하면 된다.

 <resources>

    <string name="app_name">My Application</string>
</resources>


[링크 : https://stackoverflow.com/questions/5443304/how-to-change-an-android-apps-name]

[링크 : https://chobbang.tistory.com/16]

Posted by 구차니