Android 안드로이드
안드로이드(Android) 앱 아이콘 변경
jeongyj
2021. 6. 8. 14:39
앱 아이콘을 변경하려면 우선 아이콘이 있어야 하죠 아이콘을 준비해 줍니다.
아이콘 사이즈는 512x512 입니다. 그 다음
그리고 이미지 Path 를 맞춰주면 아래와 같이 됩니다.
Name 은 상황에 맞게 바꾸고 (* 단 대문자 안됨 저는 ic_django 로 했습니다) Resize 로 크기를 알맞게 조절한 후 Next
크기 확인후 finish
그럼 res/mipmap 에 아이콘을 확인할수 있습니다.
사진 상에는 ic_main 이지만 아이콘 이름에 맞게 변경 합니다.
바꾸고 나면 에러가 날수도 있는데, 이때는
xmlns:tools="http://schemas.android.com/tools" 라인과
tools:replace="android:icon" 라인을 추가하면 된다
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="kr.co.xxx.m.applicationName">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:icon">
.
.
.
</application>
</manifest>
출처 : https://devkimgoon.tistory.com/