일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- jQuery
- error
- Exception
- Android Apk 이름 변경
- JavaScript
- Eclipse
- android error
- Android
- release unsigned
- spring
- release Apk
- apache gzip
- 안드로이드
- html
- tomcat
- Android Apk
- R프로그래밍
- DataTable
- java error
- FLUTTER
- MySQL
- css
- Kotlin
- Firebase
- android fragment
- Android Apk 이름
- CSS사용법
- Program type already present
- Java
- fragment
- Today
- Total
목록App (65)
selfstarter
flutter-ko.dev/docs/cookbook/testing/unit/introduction 단위 테스트 소개 새로운 기능을 추가하거나 기존 기능을 변경했을 때, 앱이 여전히 제대로 동작한다는 것을어떻게 보장할 수 있을까요? 테스트 코드를 작성하세요.단위 테스트는 하나의 함수, 메서드 혹은 클래� flutter-ko.dev 1. pubspec.yaml 추가 dev_dependencies: test: ^1.5.1 2. lib/counter.dart 추가 class Counter { int value = 0; void increment() => value++; void decrement() => value--; } 3. counter_test.dart 추가 // test 패키지와 Counter 클래스를..
chocolatey 설치 하기 https://chocolatey.org/install 로 들어가기 cmd가 아닌 power shell을 관리자 권한으로 실행 아래 명령어 입력(홈페이지의 최신 명령어 입력할 것) Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) 4. choco -v해서 chocolat..
File-Settings-Dart, Flutter SDK 경로 설정 필요
Could not find a command named "bin\main.dart". flutter source를 debug 하려고 하니까 아래 에러가 발생 Could not find a command named "bin\main.dart".vscode면 ctrl+p해서 launch.json 찾아서 program의 "bin/main.dart",을 현재 프로젝트 경로의 main.dart 로 변경해준다. 예를 들어 현재 있는 프로젝트의 위치가 flutter/examples/hello_world/lib 이라면 최상위 프로젝트는 flutter이다. 최상위 프로젝트 경로를 빼고 examples/hello_world/lib/main.dart 이렇게 작성해준다. "version": "0.2.0", "configura..
Android logcat adb -s logcat -v time > log.txt
t?= kotlin은 기본적으로 null을 넣을 수 없다. 다만 ?= 를 사용하면 null을 넣을 수 있다 fun main() { var a : String ?= null var b : String = null // error } !!. 절대 null이 아닐 때 사용. 하지만 NullException을 방지할 수는 없다 fun main() { val userName : String = "1231" println(userName!!.length) } .? null에 접해서 Null Exception이 나는것을 방지하기 위해 .?키워드를 사용한다. 만약 null인경우 .?키워드를 사용하면 아예 실행되지 않고, null을 반환한다 fun main() { var a : String ?= null var b : ..
Your launch config references a program that does not exist. 전날만 해도 잘되던 flutter 프로젝트가 flutter run을 실행해도 실행이 되지 않고 아래 에러가 나왔다 flutter clean, flutter update-pakages 를 해도 안되었다. 검색해보니 FileNotFoundException이 난 아래 위치의 signing-config.json 파일을 삭제하면 해결되었다. 왠지 모르겠지만 옆에 글자가 깨진건 엑세스 에러 였던듯.. 한글 왜 깨지지? 아무튼 파일 삭제 후 해결 E:\HobbyCoding\flutter\examples\hello_world\build\app\intermediates\signing_config\debug\out..
Android getSupportFragmentManager in Fragment Android Fragment에서 Fragment replace를 하기 위해 FragmentManager 객체를 얻으려고 getSupportFragmentManager함수를 호출했으나 찾을 수 없다고 떴다. getSupportFragmentManager는 AppCompatActivity를 상속받고 AppCompatActivity는 FragmentActivity을 상속받는데 FragmentActivity 안에 getSupportFragmentManager() 함수가 존재하기 때문이다. 그렇기 때문에 Fragment에서 FragmentManager 객체를 얻기 위해선 Fragment에 선언되어있는 getFragmentManag..