编译adb源以生成adb二进制文件

时间:2013-03-08 07:03:35

标签: android adb

我按照链接http://mancoosi.org/~abate/build-android-adb-debian-sid-amd64

中指定的说明进行操作

但我遇到以下错误

make out/host/linux-x86/bin/adb

============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.2.2.2.2.2.2.2.2.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-36-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
make: *** No rule to make target `out/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/export_includes', needed by `out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/import_includes'.  Stop.
make: *** Waiting for unfinished jobs....
Export includes file: system/core/libzipfile/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libzipfile_intermediates/export_includes
Export includes file: external/zlib/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/export_includes

有人可以帮我指出究竟是什么错误,我该怎么做才能解决这个错误?

非常感谢您的帮助。

1 个答案:

答案 0 :(得分:2)

注册后只是为了回答这个问题,万一其他人遇到它。

您现在还需要克隆external / openssl,因为较新的版本(截至2014-05)与libcrypt静态链接。

我还需要克隆external / stlport