Fix: Address codebase error

This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 23:36:42 +00:00
parent 4b46a9ea35
commit 19f68eed0a
6 changed files with 208 additions and 1 deletions

40
src/android-icon-guide.md Normal file
View File

@@ -0,0 +1,40 @@
# 안드로이드 앱 아이콘 설정 가이드
안드로이드 앱 아이콘을 설정하려면 다음 단계를 따르세요:
1. `android/app/src/main/res/` 폴더로 이동합니다.
2. 각 mipmap 폴더에 적절한 크기의 앱 아이콘을 넣습니다:
- `mipmap-mdpi/ic_launcher.png`: 48x48 px
- `mipmap-hdpi/ic_launcher.png`: 72x72 px
- `mipmap-xhdpi/ic_launcher.png`: 96x96 px
- `mipmap-xxhdpi/ic_launcher.png`: 144x144 px
- `mipmap-xxxhdpi/ic_launcher.png`: 192x192 px
3. 적응형 아이콘의 경우 `mipmap-anydpi-v26/ic_launcher.xml` 파일을 편집합니다:
```xml
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
```
4. 아이콘 배경색을 `android/app/src/main/res/values/colors.xml`에 추가합니다:
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>
```
5. `strings.xml` 파일에서 앱 이름이 올바르게 설정되어 있는지 확인합니다:
```xml
<resources>
<string name="app_name">젤리의 적자탈출</string>
</resources>
```
이미지 변환 도구:
- Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/
- App Icon Generator: https://appicon.co/