【发布时间】:2020-08-12 12:15:13
【问题描述】:
谁能告诉我如何解决这些编译错误。在 React Native 中集成 Analytics 和 Push Kit 时遇到这些问题?
Could not determine the dependencies of task ':app:preDebugBuild'.
无法解析配置“:app:debugCompileClasspath”的所有任务依赖项。 无法解析 org.codehaus.mojo:animal-sniffer-annotations:1.17。 要求: 项目:应用程序 > 无法解析 org.codehaus.mojo:animal-sniffer-annotations:1.17。 > 无法获取资源“http://developer.huawei.com/repo/org/codehaus/mojo/animal-sniffer-annotations/1.17/animal-sniffer-annotations-1.17.jar”。 > 无法 HEAD 'http://developer.huawei.com/repo/org/codehaus/mojo/animal-sniffer-annotations/1.17/animal-sniffer-annotations-1.17.jar'。 > 读取超时 无法解析 org.codehaus.mojo:animal-sniffer-annotations:1.17。 要求: 项目:app > io.grpc:grpc-core:1.16.1 > 无法解析 org.codehaus.mojo:animal-sniffer-annotations:1.17。 > 无法获取资源“http://developer.huawei.com/repo/org/codehaus/mojo/animal-sniffer-annotations/1.17/animal-sniffer-annotations-1.17.jar”。 > 无法 HEAD 'http://developer.huawei.com/repo/org/codehaus/mojo/animal-sniffer-annotations/1.17/animal-sniffer-annotations-1.17.jar'。 > 读取超时
> Could not resolve com.parse.bolts:bolts-applinks:1.4.0.
> Could not get resource 'http://developer.huawei.com/repo/com/parse/bolts/bolts-applinks/1.4.0/bolts-applinks-1.4.0.jar'.
> Could not HEAD 'http://developer.huawei.com/repo/com/parse/bolts/bolts-applinks/1.4.0/bolts-applinks-1.4.0.jar'.
> Read timed out
【问题讨论】:
标签: huawei-mobile-services huawei-developers