离子运行Android的失败,错误行的gradle 64 [英] ionic run android failed, error gradle line 64

查看:351
本文介绍了离子运行Android的失败,错误行的gradle 64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

previously我可以编译,但我更新后,我的东西科尔多瓦happended。我得到这个错误。

previously I can compile but after I updated my cordova something happended. I got this error.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\Jay\testproject\platforms\android\CordovaLib\cordova.grad
le' line: 64

* What went wrong:
A problem occurred evaluating root project 'android'.
> No installed build tools found. Please install the Android build tools version
 19.1.0 or higher.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

我下载了所有必需的SDK,这里有什么问题吗?

I downloaded all the required SDK, what is the problem here?

推荐答案

我有同样的问题,这是我的固定它。我有构建工具安装的版本20,但仍然被收到此错误:

I had the same problem and this is how I fixed it. I had the build-tools version 20 installed but still was getting this error:

没有安装构建工具找到。请安装Android构建工具
  版本19.1.0或更高版本。

No installed build tools found. Please install the Android build tools version 19.1.0 or higher.

所以,我创建了名为 20 构建工具目录的目录,并复制所有文件 SDK \\构建工具\\ Android为4.4W \\ * SDK \\构建工具\\ 20 。该问题是固定的!

So I created a directory named 20 within build-tools directory, and copied all the files from sdk\build-tools\android-4.4W\* to sdk\build-tools\20. The problem was fixed!

这篇关于离子运行Android的失败,错误行的gradle 64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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