diff --git a/adapter/ohos/HapVerify.java b/adapter/ohos/HapVerify.java index 2568dc8c7e77d9541b2f96908e4bafbba80ad9e9..6204124394065778974cd684cc7e94f991a60d95 100644 --- a/adapter/ohos/HapVerify.java +++ b/adapter/ohos/HapVerify.java @@ -967,8 +967,8 @@ class HapVerify { continue; } if (!checkDependencyInFileList(dependency, allHapVerifyInfo)) { - LOG.error("Dependent module " + dependency.getModuleName() + " missing, check the HSP-Path"); - return false; + LOG.warning("Dependent module " + dependency.getModuleName() + " missing, check the HSP-Path"); + continue; } List layerDependencyList = getLayerDependency( dependency.getModuleName(), hapVerifyInfo, allHapVerifyInfo);