NO1 刚开始编译时出现以下错误
make:
*No rule to make target /home/ykmi/crd/out/target/product/ls980/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by/home/ykmi/crd/out/target/product/ls980/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
凭个人感觉,检查了下dev下的关键文件,发现device/qcom/common文件不存在,这玩意儿很重要啊!Generic common qcom configuration tools。解决办法很简单,去下载一份对应版本的device_qcom_common就可以了。
NO2 犹豫有半年没玩android手机了,最近G2才重新回到我的手上,一编译ROM就出了许多蛾子,这下环境出问题了:添加Maven支持.
在编译过程中如果你没有配置Maven,就会出现以下错误
/bin/bash: mvn: command not found
make:
[/home/ykmi/crd/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.4.0.aar] Error 127
make:
Waiting for unfinished jobs....
解决方法,安装maven2,破菲斯,完事~
sudo apt-get install maven2
sudo apt-get install liblz4-tool