最近在编译android的时候碰到如下错误:
error: art/runtime/Android.bp:480:1: module "libart" variant "linux_x86_64_static": source path art/runtime/interpreter/mterp/out/mterp_x86_64.S does not exist
error: art/runtime/Android.bp:490:1: module "libartd" variant "linux_x86_64_static": source path art/runtime/interpreter/mterp/out/mterp_x86_64.S does not exist
由于换了编译服务器,应该是缺少相应host的文件:mterp_x86_64.S
说下解决方法:
cd art/runtime/interpreter/mterp/
./rebuild.sh
再次编译就不会报错了。