Lunch hikey970-userdebug does not work


I am trying to build an android image and kernel for Hikey970.
I am trying to follow the guide at and for building android and kernel respectively.

But I find that lunch command does not list options for hikey970.
So, I was suggested not to choose options in lunch command, but to use the command ‘lunch hikey970-userdebug’ directly. Though lunch command works this way, further compilation fails with make command . Has anybody faced this issue? Any pointers would be of great use!

Error displayed:
build/make/core/Makefile:28: error: overriding commands for target `out/target/product/hikey970/system/vendor/lib/’, previously defined at build/make/core/
10:03:30 ckati failed with: exit status 1


I’ve added a PR to solve this issue:

I’ll try to build on my end and see what the issue is, initially this looks like an issue related to the AOSP source in general and not specific to the 970, but i’ll test it on my end once.


I am seeing the error as well, looks like shared library for the NPU driver, still need to see why it’s breaking.

Need Helps for Building AOSP 8.1 for Hikey970

Hi @ric96,

I am also facing this issue. Any resolution on this yet?
Also, there is one android binary(factory image) for hikey970. Is it possible to have the source code snapshot for that, so that I can build and test over hikey970 android.