I followed Aosp guide and XDA guide and try to build my first ROM for Nexus 6. I checked out android-7.0.0_r27 branch, Then I downloaded all driver binaries and extract them in vendor/
directory of the root of the project. Then I ran this
make clobber && source build/envsetup.sh && lunch aosp_shamu-userdebug && make -j8 otapackage
And this is the error I get
Starting build with ninja
ninja: Entering directory `.'
[ 99% 455/456] glob vendor/*/*/Android.bp
ninja: error: 'out/target/product/shamu/obj/SHARED_LIBRARIES/copybit.msm8084_intermediates/export_includes', needed by 'out/target/product/shamu/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:84: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (54 seconds) ####
I don't have any idea what is wrong! Any suggestion will be greatly appreciated ...
I'm not sure what was the problem, but after checking out to
android-7.0.0_r24
branch andsync
that, I installed these packages onUbuntu 16.10
which is the requirements of
Ubuntu 14.04
, now I can build the source successfully.