Linux编译Android源码时,报 No rule to make target `out/host/li

Android 码拜 9年前 (2016-03-26) 2556次浏览
Linux对Android源码单独编译时,出现如下错误,跪求指导答啊!
build/core/dex_preopt.mk:47: warning: overriding commands for target `out/target/product/generic/dex_bootjars/system/framework/android.policy_nodex.jar”
build/core/dex_preopt.mk:47: warning: ignoring old commands for target `out/target/product/generic/dex_bootjars/system/framework/android.policy_nodex.jar”
build/core/dex_preopt.mk:47: warning: overriding commands for target `out/target/product/generic/dex_bootjars/system/framework/apache-xml_nodex.jar”
build/core/dex_preopt.mk:47: warning: ignoring old commands for target `out/target/product/generic/dex_bootjars/system/framework/apache-xml_nodex.jar”
build/core/dex_preopt_libart_boot.mk:48: warning: overriding commands for target `out/target/product/generic/system/framework/arm/boot.art”
build/core/dex_preopt_libart_boot.mk:48: warning: ignoring old commands for target `out/target/product/generic/system/framework/arm/boot.art”
build/core/dex_preopt_libart_boot.mk:54: warning: overriding commands for target `out/target/product/generic/dex_bootjars/system/framework/arm/boot.art”
build/core/dex_preopt_libart_boot.mk:54: warning: ignoring old commands for target `out/target/product/generic/dex_bootjars/system/framework/arm/boot.art”
make: *** No rule to make target `out/host/linux-x86/bin/dex2oatd”, needed by `out/target/product/generic/dex_bootjars/system/framework/arm/boot.art”.  Stop.
make: Leaving directory `/home/jiayongqiang/A2_318/android”
#### make failed to build some targets (1 seconds) ####
解决方案

40

同问,遇到同样的问题了,题主有解决吗?求帮助

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明Linux编译Android源码时,报 No rule to make target `out/host/li
喜欢 (0)
[1034331897@qq.com]
分享 (0)