박철순
displayName 한글로 바꾸고 안드로이드 실행 안될 때 본문
인프런에 있는 제로초님의 리액트 네이티브 강의를 듣던 중 오류가 생겼습니다.
저는 리액트네이티브 0.70.5 버전을 사용하고 있습니다.
- app.json의 displayName을 한글로 수정
- android > app > src > res > values > strings.xml의 string 태그를 displayName의 한글과 똑같이 수정
- 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
'Javascript > React-Native' 카테고리의 다른 글
리액트 네이티브 안드로이드 에뮬레이터 캐시 지우는법 (0) | 2022.11.26 |
---|---|
React-Native 에서 android 에뮬레이터를 못찾을 때 (0) | 2022.11.24 |