Android Build失败,“找不到构建工具修订版x.x.x” [英] Android Build Failing with "failed to find Build Tools revision x.x.x"

查看:104
本文介绍了Android Build失败,“找不到构建工具修订版x.x.x”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用托管构建代理构建Android应用程序,但我一直在失败

I'm trying to build an Android app with a hosted build agent, but I keep getting failures on

A problem occurred configuring project ':app'.
> failed to find Build Tools revision 18.1.1

我试过18.1.1和22.0.1。有没有办法安装正确的构建工具? Android SDK路径在构建代理的变量中设置。我是否需要在Gradle配置中包含一些内容?

I've tried with both 18.1.1 and 22.0.1. Is there a way to install the proper build tools? Android SDK path is set in the variables of the build agent. Do I need to include something in my Gradle configuration?

该应用程序在本地构建正常,因为我已经安装了必要的构建工具。

The app builds fine locally, because I have the necessary build tools installed.

谢谢

推荐答案

你能不能请尝试安装新的nuget。

Could you please try to install the new nuget .

问候,


这篇关于Android Build失败,“找不到构建工具修订版x.x.x”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆