전체 글

전체 글

    iOS Build 이슈 해결 : An error occurred while installing unf_ext

    ruby. 버전을 확인하여 2.6.x 버전이라면 최신 버전을 설치한다. 최신 버전 설치 방법 rbenv 설치 $ brew install rbenv 루비 버전 설치 $ rbenv install 3.1.2 $ rbenv rehash // 설치한 ruby 설치 후 재실행 환경 설정 $ cd $ vi ~/.bash_profile of $ vi ~/.zshrc [[ -d ~/.rbenv ]] && \ export PATH=${HOME}/.rbenv/bin:${PATH} && \ eval "$(rbenv init -)" 적용 source ~/.bash_profile or source ~/.zshrc 루비 버전 변경 $ rbenv global 3.1.2 //시스템 전체 버전 지정 $ rbenv local 3.1.2 ..

    [React Native] iOS 빌드 세팅

    https://reactnative.dev/docs/environment-setup Setting up the development environment · React Native This page will help you install and build your first React Native app. reactnative.dev react native 문서 내 iOS 세팅 중 이슈 1) sudo gem install cocoapods 시도 시, xcode-select: error: command line tools are already installed, use "Software Update" to install updates 문구 등장 시 해결방법 sudo rm -rf /Library/Develo..

    [Android] MotionLayout 사용법

    MotionLayout MotionLayout은 자식뷰들간의 Constraint 관계를 통해 사용자의 이벤트로 UI가 애니메이션처럼 변화할 수 있도록 해줍니다. 기본적인 사용법 1. MotionScene 파일을 생성하여 그 내부에서 사용자 이벤트에 따른 뷰의 Property들을 작성합니다 2. MotionScene 내부 선언 가능한 속성들은 다음 문서를 참조하세요 https://developer.android.com/training/constraint-layout/motionlayout/ref?hl=ko MotionLayout 참조 | Android 개발자 | Android Developers MotionLayout은 모션 장면 파일을 사용하여 모션 시퀀스를 정의합니다. 모션 장면 파일은 모션 시퀀스의 ..

    Flask + gunicorn (uwsgi) + nginx 설치 시 자주 겪는 문제

    flask , gunicron + nginx 설치 및 연동 시 자주 겪는 문제!! https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04 https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04 아마도 flask 서버 애플리케이션의 출시를 위해 wsgi를 이용하다보면 위의 문서들을 가장 쉽게 접할 수 있을것이고, 따라하거나 비슷한 문서를 많이 볼 수 있을 것이다. 하지만? 역시 한방에 안되는 건..

    [Android] ChildFragmentManager vs SupportFragmentManager

    우선 정의부터 보자. ChildFragmentManager는 Fragment 내에 존재하며, 관리되어지는 private한 FragmentManager이다. 따라서 Fragment와 Fragment 내의 자식들만 사용 가능하다. Fragment내의 자식들은, 부모의 FragmentManager. 즉 부모 Fragment가 갖고있는 FragmentManager에 접근할 수 있다. SupportFragmentManager은 Fragment의 Activity와 Fragment들의 상호작용을 위해 존재한다. 따라서 Activity, Activity 내의 Fragment, 그 Fragment의 자식 Fragment까지 모두 사용 가능하다. 쉽게 말하면 Activity 바로 아래 존재하는 자식 Fragment를 관리..

    [Android] java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzja

    종종 파이어베이스 관련 서비스들을 이용하다보면 만날 수 있는 에러 로그다. 보다보면 제거하고싶은 욕망이 마구마구 솟아난다.. 해결책 implementation 'com.google.android.gms:play-services-basement:17.5.0' Reference github.com/firebase/firebase-android-sdk/issues/1662#issuecomment-756911202

    [Android] Mena 지역 서비스를 위한 RTL & 동아라비아 숫자 대응 방법

    Mena 지역으로 서비스를 확장해야하는 상황이 주어져, RTL 및 동아라비아 숫자 대응 작업을 할 때 필요했던 방법들을 정리, 공유하고자 합니다 런타임 중 RTL 상황 판단 kotlin의 경우 아래와 같은 확장 함수를 사용하면 편리하다 fun Activity.isRTL(): Boolean = this.resources.isRTL() fun Context.isRTL(): Boolean = this.resources.isRTL() fun View.isRTL(): Boolean = this.context.isRTL() fun Fragment.isRTL(): Boolean = this.resources.isRTL() fun Resources.isRTL(): Boolean = this.configuration.l..

    [Android] NavigationHostFragment 내의 자식 Fragment 참조하기

    간략히 방법만 공유하고자 합니다.. Cannot access class 'android.widget.fragment'. Check your module classpath for missing or conflicting dependencies 대략 아래와 같은 navHostFragment가 존재한다고 합시다. 이제 이 NavHostFragment 내에 존재하는 fragment 객체를 참조하려합니다. 그래서 뷰바인딩을 통해 위의 fragment를 참조하려했을 때, binding.navHostFragment 아래와 같은 메시지를 볼 수 있을 것입니다. Cannot access class 'android.widget.fragment'. Check your module classpath for missing or..