2월, 2021의 게시물 표시

LF will be replaced by CRLF 경고 메시지 해결

 git config core.autocrlf true

[플러터] audio 재생 예제

  https://pub.dev/packages/audioplayers https://pub.dev/packages/assets_audio_player

[플러터] 파이어베이스 연동시 firebase_core_web not found. 에러가 날때

 Launching lib\main.dart on SM G955N in debug mode... Running Gradle task 'assembleDebug'... Plugin project :firebase_core_web not found. Please update settings.gradle. android폴더의 settings.gradle 파일을 다음과 같이 변경 한다. def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() def plugins = new Properties() def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins' ) if (pluginsFile.exists()) { pluginsFile.withReader( 'UTF-8' ) { reader -> plugins.load(reader) } } plugins.each { name, path -> def pluginDirectory = flutterProjectRoot.resolve(path).resolve( 'android' ).toFile() include ": $name " project( ": $name " ).projectDir = pluginDirectory }

[플러터] CarouselSlider 매개 변수 'onPageChanged'가 정의되지 않아 에러가 날때..

CarouselSlider ( items: images , onPageChanged: (index , reason) { setState(() { _currentPage = index ; _currentKeyword = keywords [ _currentPage ] ; }) ; } , ) , 내부에 코드를 추가합니다  CarouselOptions을  추가한다. CarouselSlider ( items: images , options: CarouselOptions ( onPageChanged: (index , reason) { setState(() { _currentPage = index ; _currentKeyword = keywords [ _currentPage ] ; }) ; } ) , ) ,

Heroku CLI 명령어

heroku login heroku logout heroku create

장고 메모

 pip install django djangorestframework django-admin startproject myapi python manage.py startapp quiz python manage.py makemigrations python manage.py migrate python manage.py runserver python manage.py makemigrations python manage.py migrate python manage.py createsuperuser python manage.py runserver pip install django-cors-headers gunicorn psycopg2-binary whitenoise dj-database-url django-cors-headers : cors 에러방지 gunicorn : 배포를 위한 도구 psycopg2-binary , dj-database-url : Heroku에서 사용하는 DB인 postgresql을 위한 것 whitenoise  : 정적 파일의 사용을 돕는 미들웨어 pip freeze > requirements.txt 

아나콘다 가상환경

가상환경 생성 conda create -n my_python 가상환경 시작 / 종료 activate my_python deactivate 가상환경 리스트 출력 conda env list 가상환경 제거하기 conda env remove -n my_python

[플러터] Bottom overflowed by pixels 오류

이미지
UI사이즈가 맞지 않으면 다음과 같은 에러 메시지가 나는데 해당 UI 크기를 알맞게 수정하거나,  Scaffold 속성에 다음과 같이 추가한다.  Scaffold(   resizeToAvoidBottomInset: false,   ) 

안드로이드 스튜디오 앱플레이어로 애뮬 실행

Nox nox_adb connect 127.0.0.1:62001 ndx_adb devices -l 블루스택 adb connect 127.0.0.1:5555