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
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