패키지 설치 파일명:pubspec.yaml 아래내용 추가 dev_dependencies: flutter_launcher_icons: ^0.9.2 flutter pub get 프로젝트에 flutter_launcher_icons.yaml 파일 추가 flutter_launcher_icons.yaml 파일에 추가할 내용 flutter_icons: android: "launcher_icon" ios: true image_path: "assets/icons/launcher_icon.png" 런처 아이콘 적용 명령어(console) flutter pub run flutter_launcher_icons:main 혹시 에러 발생하면https://comuhyun.tistory.com/174?category=780317
release apk 빌드시 저런 비스무레한 에러 발생하면 아래처럼 변경해 보자 위치 : app/src/build.gradle before dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" } after dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" }
════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.9.1) ════════════════════════════════════════════ ✓ Successfully generated launcher icons Unhandled exception: FormatException: Invalid number (at character 1) ^ #0 int._handleFormatError (dart:core-patch/integers_patch.dart:129:7) #1 int.parse (dart:core-patch/integers_patch.dart:55:14) #2 minSdk (package:flutter_launcher_i..
에러 ┌─ Flutter Fix ───────────────────────────────────────── │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then update │ D:\00.Project\01.Mobile\search_app\android\build.gradle: │ ext.kotlin_version = '' └─────────────────────────────────────────────── 수정 내용 위치 : android\build.grad..
before dependencies: flutter: sdk: flutter after (2줄 추가 flutter_localizations:) dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter ex) main.dart MaterialApp( title: 'Hello, Flutter', localizationsDelegates: [ GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], supportedLocales: [ Locale('ko', 'KR'), // Locale('..
패키지 : intl | Dart Package (pub.dev) intl | Dart Package Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues. pub.dev 사용법 : DateFormat('yyyy/MM/dd').format(DateTime.now()), -> 2022/01/01
두군데서 개발을 하다보니 업그레이드 하다가 에러가 발생하는 경우가 생김 아래와 같이 flutter upgrade 시도시 에러가 날때 force 명령어를 사용해서 강제로 업그레이드를 시도해주자 Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them via "git stash" or else commit the changes to a local branch. If it is okay to remove local changes, then re-run this command with "--force". 강..
- Total
- Today
- Yesterday
- CentOS
- nodejs
- NPM
- 명령어
- Qt Creator
- Android
- 몽고DB
- 안드로이드 스튜디오
- 독산시대
- 단축키
- MAC
- EC2
- 중곡동
- GIT
- windows
- prebuilt
- electron
- 맥
- vs code
- portrait
- 디자인패턴
- tip
- landscape
- flutter_launcher_icons
- 스마트포토
- mariadb
- 윈도우
- flutter
- vscode
- 부대찌개
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |