Skip to content

下载到本地怎么一直提示构建失败 #84

@WhenCoding

Description

@WhenCoding

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'MixPush-master'.

Could not resolve all artifacts for configuration ':classpath'.
Could not find com.android.tools.build:gradle:4.2.2.
Searched in the following locations:
- http://maven.aliyun.com/nexus/content/groups/public/com/android/tools/build/gradle/4.2.2/gradle-4.2.2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :
Could not find com.huawei.agconnect:agcp:1.6.0.300.
Searched in the following locations:
- http://maven.aliyun.com/nexus/content/groups/public/com/huawei/agconnect/agcp/1.6.0.300/agcp-1.6.0.300.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions