0

我正在使用颤振创建移动应用程序,并且我想使用颤振集成 Zendesk SDK,因为我已经完成了研究,我知道 zendesk 无法为混合应用程序提供支持,仅提供本机 SDK,但仍然有提供支持的插件,但它的下面是我尝试过的插件,太旧并且不适合我。

第一个插件

第二个插件

这是第二个插件的代码

await Zendesk.initialize(<account key>, <application id>);

但是我无法在下面的android中运行应用程序是我面临的错误

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.zendesk:chat:3.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:chat:3.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.zendesk:messaging:5.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:messaging:5.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.zendesk:chat-providers:3.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:chat-providers:3.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/chat-providers/3.1.0/chat-providers-3.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat-providers/3.1.0/chat-providers-3.1.0.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

BUILD FAILED in 43s
Running Gradle task 'assembleDebug'...
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.zendesk:chat:3.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:chat:3.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.zendesk:messaging:5.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:messaging:5.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/messaging/5.1.0/messaging-5.1.0.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.zendesk:chat-providers:3.1.0.
     Required by:
         project :app > project :zendesk_plugin
      > Could not resolve com.zendesk:chat-providers:3.1.0.
         > Could not get resource 'https://google.bintray.com/exoplayer/com/zendesk/chat-providers/3.1.0/chat-providers-3.1.0.pom'.
            > Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat-providers/3.1.0/chat-providers-3.1.0.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

BUILD FAILED in 12s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1

谁能告诉我如何解决这个问题或以任何其他方式将 Zendesk 与颤振集成

谢谢

4

0 回答 0