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 :
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'MixPush-master'.
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