gradle Could not resolve com.huawei.ohos:decctest:1.0.0.7

codelabs提供的DistributedMail编译报错。找不到decctest包

A problem occurred configuring root project 'DistributedMail'.

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

   > Could not resolve com.huawei.ohos:decctest:1.0.0.7.

     Required by:

         project :

      > Could not resolve com.huawei.ohos:decctest:1.0.0.7.

         > Could not get resource 'https://repo.huaweicloud.com/repository/maven/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'.

            > Could not GET 'https://repo.huaweicloud.com/repository/maven/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'. Received status code 400 from server: Bad Request

      > Could not resolve com.huawei.ohos:decctest:1.0.0.7.

         > Could not get resource 'https://developer.huawei.com/repo/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'.

            > Could not GET 'https://developer.huawei.com/repo/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'. Received status code 400 from server: Bad Request

      > Could not resolve com.huawei.ohos:decctest:1.0.0.7.

         > Could not get resource 'https://jcenter.bintray.com/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'.

            > Could not GET 'https://jcenter.bintray.com/com/huawei/ohos/decctest/1.0.0.7/decctest-1.0.0.7.pom'. Received status code 400 from server: Bad Request

鸿蒙
HarmonyOS
华为
2021-11-26 11:08:59
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
Noedd

C:\Users\Administrator\.gradle\gradle.properties
删除以下配置的代理信息:
systemProp.http.proxyHost=mirrors.neusoft.edu.cn

systemProp.https.proxyHost=mirrors.neusoft.edu.cn

systemProp.https.proxyPort=80

systemProp.http.proxyPort=80

分享
微博
QQ
微信
回复
2021-11-26 14:47:36
相关问题
missing essential plugin com.huawei.harmony
9043浏览 • 1回复 待解决
不能访问http://repo.ark.tools.huawei.com
8355浏览 • 1回复 待解决
如何使用gradle自动打包?
4650浏览 • 1回复 待解决
鸿蒙demo gradle报错怎么解决
9927浏览 • 4回复 待解决
DevEco Studio 无法自动配置gradle
9861浏览 • 2回复 已解决
huawei webview 组件下载地址
9448浏览 • 2回复 待解决
Gradle怎么实现多productFlavors
6539浏览 • 1回复 待解决
Could not find a file named "pubspec.yaml"
359浏览 • 1回复 待解决
build.gradle中的签名问题
7730浏览 • 2回复 待解决
如何获取HUAWEI DevEco Device Tool?
4896浏览 • 1回复 已解决
#鸿蒙通关秘籍#Gradle构建工具
91浏览 • 0回复 待解决
请问HUAWEI DevEco Device Tool会开源吗?
6268浏览 • 1回复 已解决