安卓系统编译错误——解决

问题一:

make: *** [out/target/common/obj/APPS/DeskClock_intermediates/classes-full-debug.jar] 错误 41
解决
 

$sudo apt-get install git-core gnupg gperf libsdl-dev libesd0-dev

$sudo apt-get install libwxgtk2.6-dev zip curl minicom tftpd

$sudo apt-get install uboot-mkimage libx11-dev libncurses-dev

$sudo apt-get install expect bison build-essential flex zlib1g-dev

 

问题二:

******************************
You have tried to change the API from what has been previously released in
an SDK.  Please fix the errors listed above.
******************************

make: *** [out/target/common/obj/PACKAGING/checkapi-last-timestamp] 错误 38

解决:

make clean
rm framework/base/api/curent.txt
make update-api
lunch full-eng
make -j8


你可能感兴趣的:(安卓源码编译)