Nexus 5 6.1生成问题:必须定义BUILD_CTSCORE_PACKAGE

时间:2019-02-26 13:04:53

标签: android-source

我正在为Nexus 5进行ROM开发。为此,我已经完成了以下步骤:

  • 找到构建版本,即MOB30D
  • 下载“ Android 6.0.1(MOB30D)的Nexus 5(GSM / LTE)二进制文件”的专有二进制文件
  • repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r30
  • 回购同步-c -j12 -f --no-clone-bundle --no-tags
  • 导出OUT_DIR_COMMON_BASE =〜/ Work / Out /
  • 安装open-jdk7-jdk
  • 制造垃圾
  • 。 build / envsetup.sh
  • 在第2点下载的已执行二进制sh文件。只有一个shell脚本执行了'extract-broadcom-hammerhead.sh',其余两个脚本在bash: .: extract-lge-hammerhead.sh: cannot execute binary file时显示了错误 忽略错误,继续吃午餐
  • 午餐aosp_hammerhead-userdebug
  • make -j4 下面是输出:

    make -j4
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=6.0.1
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a
    TARGET_CPU_VARIANT=generic
    TARGET_2ND_ARCH=
    TARGET_2ND_ARCH_VARIANT=
    TARGET_2ND_CPU_VARIANT=
    HOST_ARCH=x86_64
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-with-Ubuntu-18.04-bionic
    HOST_BUILD_TYPE=release
    BUILD_ID=MOB30D
    OUT_DIR=out
    ============================================
    Checking build tools versions...
    including ./abi/cpp/Android.mk ...
    including ./art/Android.mk ...
    including ./bionic/Android.mk ...
    including ./bootable/recovery/Android.mk ...
    including ./build/libs/host/Android.mk ...
    including ./build/target/board/Android.mk ...
    including ./build/target/product/security/Android.mk ...
    including ./build/tools/Android.mk ...
    including ./cts/Android.mk ...
    cts/tests/core/runner/Android.mk:18: ***   BUILD_CTSCORE_PACKAGE must be defined.  Stop.
    

我通过互联网搜索,但没有找到任何解决方案。 请分享您有关如何解决此问题的建议?

0 个答案:

没有答案