|
/

com.huawei.hms:push:5.0.2.300无法下载

Z智连
发布于 5 年前
345
移动统计 U-App

Executing tasks: [:iLinkStarChat:assembleDebug] in project D:\work\java\ilinkchat_android

> Configure project :iLinkStarChat

WARNING: The option setting 'android.useNewApkCreator=false' is experimental.

The current default is 'true'.

Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.

It will be removed in version 7.0 of the Android Gradle plugin.

iLinkStarChat: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.9.0'.

WARNING: Using flatDirs should be avoided because it doesn't support any meta-data formats.

Currently detected usages:

- repository flatDir used in: project ':iLinkStarChat', project ':tuikit', project ':tuikit-live'

WARNING: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.

This repository is deprecated and it will be shut down in the future.

See http://developer.android.com/r/tools/jcenter-end-of-service for more information.

Currently detected usages in: root project 'iLinkStarChatProject', project ':iLinkStarChat', project ':MPChartLib', ...

> Task :iLinkStarChat:preBuild UP-TO-DATE

> Task :iLinkStarChat:preDebugBuild UP-TO-DATE

> Task :MPChartLib:preBuild UP-TO-DATE

> Task :MPChartLib:preDebugBuild UP-TO-DATE

> Task :MPChartLib:compileDebugAidl NO-SOURCE

> Task :picture_library:preBuild UP-TO-DATE

> Task :picture_library:preDebugBuild UP-TO-DATE

> Task :ucrop:preBuild UP-TO-DATE

> Task :ucrop:preDebugBuild UP-TO-DATE

> Task :ucrop:compileDebugAidl NO-SOURCE

> Task :picture_library:compileDebugAidl NO-SOURCE

> Task :treerecyclerview:preBuild UP-TO-DATE

> Task :treerecyclerview:preDebugBuild UP-TO-DATE

> Task :treerecyclerview:compileDebugAidl NO-SOURCE

> Task :tuikit:preBuild UP-TO-DATE

> Task :tuikit:preDebugBuild UP-TO-DATE

> Task :tuikit:compileDebugAidl NO-SOURCE

> Task :tuikit-live:preBuild UP-TO-DATE

> Task :tuikit-live:preDebugBuild UP-TO-DATE

> Task :tuikit-live:compileDebugAidl NO-SOURCE

> Task :iLinkStarChat:compileDebugAidl NO-SOURCE

> Task :MPChartLib:packageDebugRenderscript NO-SOURCE

> Task :picture_library:packageDebugRenderscript NO-SOURCE

> Task :treerecyclerview:packageDebugRenderscript NO-SOURCE

> Task :tuikit:packageDebugRenderscript NO-SOURCE

> Task :tuikit-live:packageDebugRenderscript NO-SOURCE

> Task :ucrop:packageDebugRenderscript NO-SOURCE

> Task :iLinkStarChat:compileDebugRenderscript NO-SOURCE

> Task :iLinkStarChat:dataBindingMergeDependencyArtifactsDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':iLinkStarChat:dataBindingMergeDependencyArtifactsDebug'.

> Could not resolve all files for configuration ':iLinkStarChat:debugRuntimeClasspath'.

> Could not resolve com.huawei.hms:push:5.0.2.300.

Required by:

project :iLinkStarChat

> Could not resolve com.huawei.hms:push:5.0.2.300.

> Could not get resource 'https://dl.bintray.com/umsdk/release/com/huawei/hms/push/5.0.2.300/push-5.0.2.300.pom'.

> Could not HEAD 'https://dl.bintray.com/umsdk/release/com/huawei/hms/push/5.0.2.300/push-5.0.2.300.pom'. Received status code 502 from server: Bad Gateway

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s

1 actionable task: 1 executed

3个回答
 
5 年前

楼主,看看这里。

https://developer.umeng.com/docs/67966/detail/98589#h2--push-sdk12

友盟SDK和华为等第三方厂商的SDK要对应上来,不然就会报错的。

 
5 年前

配合个保法,华为升级了SDK版本。需要使用 6.1.0.300 版本。

com.huawei.hms:push:6.1.0.300
 
5 年前

那按照最新的文档那操作那

Loading ...
登录社区,分享你的经验