Ubuntu16.04编译Android 4.4
参考:https://nosemaj.org/howto-build-android-kitkat-nexus-5
问题:Can’t use ‘defined(@array)’ (Maybe you should just omit the defined()?) at kernel/timeconst.pl
答案:https://blog.youkuaiyun.com/wsclinux/article/details/77162244
问题:
frameworks/base/media/jni
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:40:19: fatal error: jhead.h: No such file or directory
添加一行:
LOCAL_C_INCLUDES += \
external/jhead \