在将流星部署到android-device时未能找到Build Tools修订版本24.0.1 [英] failed to find Build Tools revision 24.0.1 when deploying meteor to android-device

查看:224
本文介绍了在将流星部署到android-device时未能找到Build Tools修订版本24.0.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错误地完全删除了Android SDK文件夹。以前,我已经部署流星到Android设备多次,使用cordova / phonegap。当通过Android Studio重新安装SDK并尝试在设备中运行meteor时会收到此错误:

By mistake I completely delete the Android SDK folder. Previously I have deployed meteor to android devices many times, using cordova/phonegap. When reinstalling SDK via Android Studio and try to run meteor in device I'm getting this error:


配置根项目android '。 >未能找到Build Tools版本24.0.1

A problem occurred configuring root project 'android'. > failed to find Build Tools revision 24.0.1

可能出错?我已检查Android Studio SDK Manager,并且已正确安装:
1)SDK平台(Build 23)
2)SDK Build Tools (Build 24.0.1)
3)SDK平台工具(Build 24.0.1)

What could be wrong? I have checked Android Studio SDK Manager and I have correctly installed: 1) SDK Platform (Build 23) 2) SDK Build Tools (Build 24.0.1) 3) SDK Platform Tools (Build 24.0.1)

此外,我已经正确设置了HOME PATH变量,并检查了build-tools文件夹。

Also I have correctly set the HOME PATH variable and checked the build-tools folder and the mentioned version is there. Any advice could be appreciated.

推荐答案

从控制台运行命令:Android。

Run from console the command: Android.

它会打开android管理器(不同于Android studio SDK管理器)。它将显示未安装构建工具版本24.0.1。选择并安装它并解决问题。

It will brings up the android manager (Different to Android studio SDK manager). It will shown that build tools version 24.0.1 is not installed. Select and install it and problem solved.

奇怪的是Android Studio安装的版本为24.0.1,Android Manager显示为24,plain。

Oddly the version installed by Android Studio as 24.0.1 is shown by Android Manager as 24, plain.

p.s。您应该在sdk / tools目录中运行Android命令,除非您已经将它包含在$ PATH变量中。

p.s. You should run the Android command inside the sdk/tools directory unless you already have included it in your $PATH variable.

这篇关于在将流星部署到android-device时未能找到Build Tools修订版本24.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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