Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- FastAPI
- ML
- Stream
- Algorithm
- MATLAB
- Flutter
- pytorch
- 영상처리
- 백준
- 파이토치 트랜스포머를 활용한 자연어 처리와 컴퓨터비전 심층학습
- Got
- bloc
- study book
- PCA
- Computer Architecture
- ARM
- Image Processing
- BAEKJOON
- BFS
- rao
- C++
- MDP
- DART
- Dreamhack
- llm을 활용 단어장 앱 개발일지
- system hacking
- fastapi를 사용한 파이썬 웹 개발
- Kaggle
- Widget
- BOF
Archives
- Today
- Total
Bull
[Flutter::trubleshooting] flutter_launcher_icons black background trubleshooting (android) 본문
Software Framework/Flutter
[Flutter::trubleshooting] flutter_launcher_icons black background trubleshooting (android)
Bull_ 2024. 9. 29. 13:01해결방법
flutter_launcher_icons:
ios: true
android: true
remove_alpha_ios: true
image_path: "assets/icon/icon.png"
adaptive_icon_background: "#ffffff"
adaptive_icon_foreground: "assets/icon/icon.png"
원래는 image_path 까지만 적어줬었는데 혹시나 adaptive_icon_background ,adaptive_icon_foreground 까지 적어주니까 적용됐다. 원래는 필요없는 줄 알았는데...
생성된 mipmap 파일들을 보니까 foreground 로 생성되었다. 적응형이 기본으로 들어가서 그런지 mipmap-anydpi-v26 폴더 아래 파일 설정을 보면 foreground 옵션으로 생성되는 거 같다.
<?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>
<inset
android:drawable="@drawable/ic_launcher_foreground"
android:inset="16%" />
</foreground>
</adaptive-icon>
해결했었던 방법들
- 배경 투명도가 없어도 안됨.
AndroidManifest.xml파일에android:icon="@mipmap/ic_launcher"설정도 잘해놨는데 안됨.mipmap-anydpi-v26파일 수작업으로 고쳐도 안됨.
'Software Framework > Flutter' 카테고리의 다른 글
| [Flutter::Package] gafa_indicator 제작 (1) | 2024.11.16 |
|---|---|
| [Flutter::State] RiverPod Tutorial - Getting Started Review (1) | 2024.10.28 |
| [Flutter:: Widget] ReorderableListView 수동 정렬하기 (0) | 2024.09.26 |
| [Flutter] 부모위젯이 자식위젯의 method 호출 방법 (0) | 2024.09.07 |
| [Flutter::Widget] Netiveview(ImagePicker)에서 상태 변경으로 이미지가 렌더링될 때 스크롤 하는 방법 (1) | 2024.09.01 |