问题1:ninja: error: 'frameworks/base/api/current.txt', needed by 'out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp', missing and no known rule to make it
解决方案:make update-api
错误原因:ninja: error: 'frameworks/base/api/current.txt', needed by 'out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp', missing and no known rule to make it
问题2:ImportError: No module named Crypto.Signature
解决方案:sudo pip2 install pycrypto(需先安装pip2)
错误原因:未安装python相关处理工具
切记!!!下载以及编译源码时不要使用root权限进行下载,不然会出大问题。