7.0之后framework替换不生效问题

修改如下

device/qcom/common/base.mk

ifeq ($(WITH_DEXPREOPT),)
  WITH_DEXPREOPT := true
  WITH_DEXPREOPT_PIC := true
  ifneq ($(TARGET_BUILD_VARIANT),user)
    # Retain classes.dex in APK's for non-user builds
    WITH_DEXPREOPT := false
    WITH_DEXPREOPT_PIC := false
    DEX_PREOPT_DEFAULT := nostripping
  endif
endif

你可能感兴趣的:(7.0之后framework替换不生效问题)