设备硬件二进制文件
Android分支支持设备列表
搭建构建环境
初始化源码仓库
repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.1_r57 --depth=1 --partial-clone --clone-filter=blob:limit=10M
apt-get install default-jre
apt-get install libncurses5
apt-get install clang
apt-get install make
apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig
loadlocale.c:130: _nl_intern_locale_data: Assertion cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0])) failed.
export LANG=C
export LC_ALL=C
export LC_COLLATE=C
Android7.0 配置JACK支持多用户同时编译
Android JACK 编译错误SSL error when connecting to the Jack server
修改 -Wframe-larger-than=6400
jdk版本一定要用jdk8
adb reboot bootloader
进入bootloaderfastboot flashall -w
LOCAL_DEX_PREOPT = false
ifeq ($TARGET_BUILD_VARIANT), eng)
tags_to_install := debug eng
#关闭odex优化
WITH_DEXPREOPT := false
stop;start; //软重启
$(gettop) //获取top目录
godir android_util_log.cpp //查找文件所在目录
stop;start; //重启