alias dex2jar='d2j-dex2jar.sh' export dex2jar_home='/Users/my/Tools/dex2jar/dex-tools-2.2-SNAPSHOT' export PATH=${PATH}:${dex2jar_home}
3. dex2jar 실행하기
명령어를 실행해본다.
% dex2jar d2j-dex2jar -- convert dex to jar usage: d2j-dex2jar [options] <file0> [file1 ... fileN] options: --skip-exceptions skip-exceptions -d,--debug-info translate debug info -e,--exception-file <file> detail exception file, default is $current_dir/[fi le-name]-error.zip -f,--force force overwrite -h,--help Print this help message -n,--not-handle-exception not handle any exceptions thrown by dex2jar -nc,--no-code -o,--output <out-jar-file> output .jar file, default is $current_dir/[file-na me]-dex2jar.jar -os,--optmize-synchronized optimize-synchronized -p,--print-ir print ir to System.out -r,--reuse-reg reuse register while generate java .class file -s same with --topological-sort/-ts -ts,--topological-sort sort block by topological, that will generate more readable code, default enabled version: reader-2.2-SNAPSHOT, translator-2.2-SNAPSHOT, ir-2.2-SNAPSHOT
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:].