After attempting to build a SDK addon, the build fails with this error:
make: *** No rule to make target out/target/product/msm8916_64/obj/SHARED_LIBRARIES/libqc-opt_intermediates/export_includes , needed by out/target/product/msm8916_64/obj/SHARED_LIBRARIES/libskia_intermediates/import_includes. Stop.
This is the build command I’m using:
The SDK build script was borrowed from some github code:
Here is the make file I’m using:
# Add in the product specific SDK add-on library to the system image # as a package PRODUCT_PACKAGES := \ com.hiqes.android.utility_library # Copy over the XML permissions file for the library to the system image PRODUCT_COPY_FILES := \ device/qcom/msm8916_64/android-device-ballard/ballard/frameworks/utility_library/com.hiqes.android.utility_library.xml:system/etc/permissions/com.hiqes.android.utility_library.xml \ # Name the SDK Add-on PRODUCT_SDK_ADDON_NAME := utility_library # The SDK has a manifest declaring what it comes with as well as a hardware # definition which describes what the hardware looks like. These must be # copied as part of the SDK package, so specify them here. Any custom skins PRODUCT_SDK_ADDON_COPY_FILES := \ device/qcom/msm8916_64/android-device-ballard/ballard/manifest.ini:manifest.ini \ device/qcom/msm8916_64/android-device-ballard/ballard/hardware.ini:hardware.ini PRODUCT_SDK_ADDON_COPY_MODULES := \ com.hiqes.android.utility_library:libs/utility_library.jar PRODUCT_SDK_ADDON_STUB_DEFS := $(LOCAL_PATH)/utility_library_stub_defs # PRODUCT_SDK_ADDON_DOC_MODULES := utility_library $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_arm64.mk) PRODUCT_NAME := ballard PRODUCT_DEVICE := msm8916_64 PRODUCT_BRAND := Android PRODUCT_MODEL := MSM8916 for arm64 PRODUCT_CHARACTERISTICS := nosdcard
I’m using this SDK:
Any idea how to fix this build error?