首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bitrise无法安装缺少的android工具- Fabric

Bitrise无法安装缺少的android工具- Fabric
EN

Stack Overflow用户
提问于 2018-09-21 21:31:24
回答 1查看 1K关注 0票数 0

由于找不到fabric的Gradle插件版本1.25.4,Bitrise step install-missing-android-tools失败。

但是正如你所看到的,这个版本是存在的,而且当我运行bitrise run 'dev'时,构建过程也是如预期的那样。

我对正在发生的事情一无所知。步骤日志:

代码语言:javascript
复制
+------------------------------------------------------------------------------+
| (2) install-missing-android-tools                                            |
+------------------------------------------------------------------------------+
| id: install-missing-android-tools                                            |
| version: 2.2.0                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2018-09-20T20:11:58Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[20:11:58] Start installing (golang) with apt-get       
INFO[20:11:58]  * [OK] Step dependency (go) installed, available. 
Configs:
- GradlewPath: ./Project/gradlew
- AndroidHome: /opt/android-sdk-linux
Preparation
Set executable permission for gradlew
Initialize Android SDK
Ensure android licences
Ensure required Android SDK components
Retrying...
Failed to ensure android components, error: output: FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Project'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve io.fabric.tools:gradle:1.25.4.
     Required by:
         project :
      > Could not resolve io.fabric.tools:gradle:1.25.4.
         > Could not get resource 'https://jcenter.bintray.com/io/fabric/tools/gradle/1.25.4/gradle-1.25.4.pom'.
            > Could not GET 'https://jcenter.bintray.com/io/fabric/tools/gradle/1.25.4/gradle-1.25.4.pom'.
               > Read timed out
* 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 31s
error: exit status 1
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | install-missing-android-tools (exit code: 1)                  | 105 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...bitrise-steplib/steps-install-missing-android-tools/issues |
| Source: ...://github.com/bitrise-steplib/steps-install-missing-android-tools |
+---+---------------------------------------------------------------+----------+
EN

回答 1

Stack Overflow用户

发布于 2018-09-24 13:28:25

似乎与jcenter.bintray.com有关--我刚试图打开链接的https://jcenter.bintray.com/io/fabric/tools/gradle/1.25.4/gradle-1.25.4.pom,但我得到了一个404 (未找到)。因此,即使这个版本存在,它似乎也不存在于jcenter上。也许它过去在jcenter上是可用的,但后来被删除了?

当然,如果gradle在本地缓存中可用,那么gradle不会失败,即使它在远程/url上不再可用,因为它可以使用本地缓存版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52444858

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档