Could not resolve all artifacts for configuration ':classpath'.

A problem occurred configuring root project 'MyApplication'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve com.huawei.ohos:hap:2.4.2.5.
     Required by:
         project :
      > Could not resolve com.huawei.ohos:hap:2.4.2.5.
         > Could not get resource 'https://repo.huaweicloud.com/repository/maven/com/huawei/ohos/hap/2.4.2.5/hap-

harmonyOS jar
2021-05-27 14:08:52
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
红叶亦知秋

会不是 gradle 的问题, 考虑清下缓存?

分享
微博
QQ
微信
回复
2021-05-27 16:42:07
相关问题
通过configuration配置调试so
657浏览 • 1回复 待解决
添加鸿蒙的框架到javadoc的classpath
3499浏览 • 1回复 待解决
deveco studio的classpath在哪里设定?
4878浏览 • 1回复 待解决
Could not find a file named "pubspec.yaml"
320浏览 • 1回复 待解决
. > An error occur in configuration.
5995浏览 • 1回复 待解决
HarmonyOS异步await不起作用
322浏览 • 1回复 待解决