diff --git a/frameworks/src/bundle_command_common.cpp b/frameworks/src/bundle_command_common.cpp index a39a1b50514ba8b6bf36ce357d414f193b24f7eb..0aac05c46607273e42edec613362e7aefd2a4fab 100644 --- a/frameworks/src/bundle_command_common.cpp +++ b/frameworks/src/bundle_command_common.cpp @@ -699,6 +699,10 @@ std::map BundleCommandCommon::bundleMessageMap_ = { IStatusReceiver::ERR_INSTALL_ENCRYPTED_BUNDLE_NOT_ALLOWED_FOR_SHELL, "error: Encrypted bundle cannot be installed by shell without root." }, + { + IStatusReceiver::ERR_INSTALL_APPID_NOT_SAME_WITH_PREINSTALLED, + "error: Bundle cannot be installed because the appId is not same with preinstalled bundle." + }, }; } // AppExecFwk } // OHOS \ No newline at end of file