Tools
[Jadx-gui] MacOS에서 실행 에러 해결
Red&Blue_
2020. 5. 11. 13:51
[실행 시 크래시화면]
[에러 환경]
macOS Catalina 버전 10.15.4 MacBook Pro (16-inch, 2019) 프로세서 2.4 GHz 8코어 Intel Core i9 메모리 32GB 2667 MHz DDR4 그래픽 AMD Radeon Pro 3500M 4GB Intel UHD Graphics 630 1536 MB |
[Java Ver]
- 버전별 다 실행해봤으나.. 모드 크래시 발생.
jenv versions system 1.8 1.8.0.252 11.0 * 11.0.7 13.0 13.0.2 14.0 14.0.1 |
[에러내용]
2020-05-11 13:06:53.193 java[2068:87070] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.193 java[2068:87070] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug. 2020-05-11 13:06:53.194 java[2068:87070] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.194 java[2068:87070] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.198 java[2068:87070] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.198 java[2068:87070] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.201 java[2068:87070] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-05-11 13:06:53.201 java[2068:87070] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. |
[해결]
1) 기존 jadx-gui 스크립트
- JAVA_HOME설정 값에 "-"가 들어가 있다. 해당 문자를 제거해야...
$ cat /usr/local/Cellar/jadx/1.1.0_1/bin/jadx-gui #!/bin/bash JAVA_HOME="${JAVA_HOME:-/usr/local/opt/openjdk}" exec "/usr/local/Cellar/jadx/1.1.0_1/libexec/bin/jadx-gui" "$@" |
2) 수정
$ chmod 755 /usr/local/Cellar/jadx/1.1.0_1/bin/jadx-gui $ vi /usr/local/Cellar/jadx/1.1.0_1/bin/jadx-gui #!/bin/bash JAVA_HOME="${JAVA_HOME:/usr/local/opt/openjdk}" exec "/usr/local/Cellar/jadx/1.1.0_1/libexec/bin/jadx-gui" "$@" |