有些第三方app内置到手机不可卸载区域,有时候会无法正常使用。造成此类现象的原因可能是需要系统签名的问题。
#######################################################
### HdPlayer
#######################################################
include $(CLEAR_VARS)
# Module name should match apk name to be installed
LOCAL_MODULE := HdPlayer
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := HdPlayer/Signed_HDPlayerPhone433.apk
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_PATH := $(TARGET_OUT)/priv-app
LOCAL_DEX_PREOPT := false
include $(BUILD_PREBUILT)
上面需要将
LOCAL_CERTIFICATE := PRESIGNED 修改为
LOCAL_CERTIFICATE := platform