ro.secure=0
ro.debuggable=1才能使用
ref : 陶醉 seo
所以改一下:
build/core/main
ifneq (,$(user_variant)) # Target is secure in user builds. ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0 ADDITIONAL_BUILD_PROPERTIES += ro.secure=0 ... ... ifeq (true,$(strip $(enable_target_debugging))) # Target is more debuggable and adbd is on by default ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 ADDITIONAL_BUILD_PROPERTIES += ro.debuggable=1 # Include the debugging/testing OTA keys in this build. INCLUDE_TEST_OTA_KEYS := true else # !enable_target_debugging # Target is less debuggable and adbd is off by default ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 ADDITIONAL_BUILD_PROPERTIES += ro.debuggable=1 endif # !enable_target_debugging
沒有留言:
張貼留言