在 build/core/cleanbuild.mk 66行左右ifneq ($(CURRENT_CLEAN_BUILD_VERSION),$(INTERNAL_CLEAN_BUILD_VERSION)) # The major clean version is out-of-date. Do a full clean, and # don't even bother with the clean steps. $(info *** A clean build is required because of a recent change.) $(shell rm -rf $(OUT_DIR)) $(info *** Done with the cleaning, now starting the real build.) else屏蔽掉这个试试 $(shell rm -rf $(OUT_DIR)) 就算不屏蔽再重编一次也比第一快的了。
# The major clean version is out-of-date. Do a full clean, and
# don't even bother with the clean steps.
$(info *** A clean build is required because of a recent change.)
$(shell rm -rf $(OUT_DIR))
$(info *** Done with the cleaning, now starting the real build.)
else屏蔽掉这个试试 $(shell rm -rf $(OUT_DIR)) 就算不屏蔽再重编一次也比第一快的了。