Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
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
more
Archives
Today
Total
관리 메뉴

박철순

displayName 한글로 바꾸고 안드로이드 실행 안될 때 본문

Javascript/React-Native

displayName 한글로 바꾸고 안드로이드 실행 안될 때

박철순입니다 2022. 11. 11. 23:50

인프런에 있는 제로초님의 리액트 네이티브 강의를 듣던 중 오류가 생겼습니다.
저는 리액트네이티브 0.70.5 버전을 사용하고 있습니다.

  1. app.json의 displayName을 한글로 수정
  2. android > app > src > res > values > strings.xml의 string 태그를 displayName의 한글과 똑같이 수정
  3. ios > displayName의 영문 이름 폴더 > Info.plist의 key값이 CFBundleDisplayName의 string값을 displayName의 한글과 똑같이 수정

다시 안드로이드 실행 후, 앱이 안켜지면

android > gradle.properties 내 FLIPPER_VERSION의 버전을 확인 후 0.145.0으로 수정

 

해당 관련 내용은 https://github.com/facebook/react-native/issues/34066에서 확인이 가능

 

App crashes when displayName is written in CJK(Chinese, Korean, Japanese) · Issue #34066 · facebook/react-native

Description In android emulator, if I change app name to Korean or Chinese, it crashes. If I revert the name of an app to english, it works well again. Version 0.69 Output of npx react-native info ...

github.com