-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Description
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
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22000
CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Memory: 5.96 GB / 31.93 GB
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
Watchman: 20210110.135312.0 - C:\ProgramData\chocolatey\bin\watchman.EXE
SDKs:
Android SDK: Not Found
Windows SDK:
AllowAllTrustedApps: Disabled
Versions: 10.0.19041.0
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 11.0.1
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.0 => 0.69.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
- react-native init koreantestapp
- change app_name to 세종대왕 in
res/values/strings.xmlOR (makeres/values-ko/strings.xmland change app_name to 세종대왕) - npm run android
- Crash!
Activity
ZeroCho commentedon Jun 25, 2022
@mensonones Thx, it's a Flipper issue.
android/gradle.properties
works fine.
oakis commentedon Nov 28, 2022
This was also the solution for me. I had a Swedish character in my name and couldn't figure out why the app crashed. Thanks for the solution!
cortinico commentedon Nov 28, 2022
Thanks for sharing the resolution @ZeroCho
I'm closing as we updated the default Flipper version last week. It will land in 0.72
Users on previous versions of RN can still manually update the version as you suggested
sqlsystems commentedon Dec 1, 2022
@ZeroCho 감사합니다. 디버그 실력에 감탄 했습니다!
Pointotech commentedon Jan 10, 2023
This is a nasty bug that breaks apps created with older versions of React Native. Updating Flipper to
0.145.0fixes this.@ZeroCho Thanks for the fix!