amimo / dcc

DCC (Dex-to-C Compiler) is method-based aot compiler that can translate DEX code to C code.
Apache License 2.0
1.13k stars 396 forks source link

运行报错,请帮忙看看,谢谢 #13

Closed gaofeng7777 closed 4 years ago

gaofeng7777 commented 4 years ago

File "dcc.py", line 428, in dcc_cfg = json.load(fp) File "F:\python3\lib\json__init.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "F:\python3\lib\json\init__.py", line 348, in loads return _default_decoder.decode(s) File "F:\python3\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "F:\python3\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid \escape: line 3 column 19 (char 56)

amimo commented 4 years ago

是不是json配置文件里面的路径不对?windows下面的路径需要两个反斜杠转移.

gaofeng7777 commented 4 years ago

是这个问题,谢谢你!