开发工具: DevEco Studio 3.1.1

版本:Openharmony-3.2-release

full-sdk版本: 3.2.15.4 

 

问题1: 导入applications\standard\camera在DevEco Studio 3.1.1图片及报错信息如下:

 

camera相机报错信息:

> hvigor ERROR: Failed :phone:default@CompileArkTS... 
> hvigor ERROR: ArkTs Compiler Error
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\FeatureManager.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Constants.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\ModeAssembler.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Mode.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Constants.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Constants.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Constants.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\FeatureManager.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Constants.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\ModeAssembler.ts" 
ERROR:  ArkTS:ERROR Failed to get an resolved OhmUrl by filepath "E:\harmonyos_workspace-prj\stand-application\camera\features\featureservice\Mode.ts" 
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/index.ets:117:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/Control.ets:78:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/FootBar.ets:47:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/PreviewArea.ets:205:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/SettingView.ets:62:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/moreList/moreList.ets:43:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/zoomview/ZoomView.ets:62:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/tabbar/TabBar.ets:37:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/BigVideoTimer.ets:57:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/product/phone/src/main/ets/pages/SmallVideoTimer.ets:51:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/zoomview/ZoomText.ets:33:16
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/cameraswitcher/CameraSwitchButton.ets:47:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/shutterbutton/ShutterButton.ets:89:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/thumbnail/ThumbnailView.ets:42:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/thumbnail/ThumbnailView.ets:43:21
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/assistivegridview/AssistiveGridView.ets:51:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/bigtext/BigText.ets:50:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/animate/ShowFlashBlack.ets:42:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/timelapseview/TimeLapseView.ets:55:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/customdialog/MultiCameraDialog.ets:52:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/settingview/phone/SetResolution.ets:53:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/settingview/phone/SetToggle.ets:42:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/customdialog/EntryComponentForMulti.ets:33:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/customdialog/dialogComponent/CustomDialogView.ets:59:17
 Please define an explicit type, not any.
WARN: ArkTS:WARN File: E:/harmonyos_workspace-prj/stand-application/camera/common/src/main/ets/default/featurecommon/customdialog/dialogComponent/EntryComponent.ets:46:17
 Please define an explicit type, not any.
COMPILE RESULT:FAIL {ERROR:12 WARN:25}
> hvigor ERROR: BUILD FAILED in 28 s 405 

 

 

 

上述问题有劳帮忙查询一下有没有解决的方案,谢谢!!

 

 

 

 

 

 

 

 

 

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐