android SDK 中缺少 platform-toolsaapt.exe 目录

2022-10-28Java开发问题
8

本文介绍了android SDK 中缺少 platform-toolsaapt.exe 目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我正在尝试让hello world"在带有 Eclipse 的 Android SDK 上工作.我正在逐步学习本教程:

I'm trying to get 'hello world' working on the Android SDK with Eclipse. I'm following this tutorial step by step:

http://developer.android.com/resources/tutorials/hello-world.html

但我返回错误执行 aapt 时出错.请检查 C:android-sdk-windowsplatform-toolsaapt.exe 中是否存在 aapt"

but i'm returned the error "Error executing aapt. Please check aapt is present at C:android-sdk-windowsplatform-toolsaapt.exe"

由于某种原因,我的安装下不存在platform-tools"文件夹.取而代之的是平台"和工具".据推测,我的 SDK 版本与教程中使用的版本不同.

For some reason, the "platform-tools" folder does not exist under my installation. In its place I find "platforms" and "tools". Presumably, my SDK version is different to that used in the tutorial.

我无法确定需要更改或更新的内容.有人可以指出我正确的方向吗?

I can't work out what i need to change or update. Can someone please point me in the correct direction?

谢谢

推荐答案

*你运行的是什么版本的SDK?(1.5_r2 还是什么?)*

*What version of the SDK are you running? (1.5_r2 or something?)*

我建议更新您的 SDK 并完成它;)您可以通过Android SDK 和 AVD 管理器"执行此操作.

I would suggest updating your SDK and be done with it ;) You can do so trough the "Android SDK and AVD Manager".

日食:
menu->window->"Android SDK and AVD Manager"

您可能还想更改此设置:
menu->window->preferences->install/update->(expand)->自动更新

You might also want to change this setting:
menu->window->preferences->install/update->(expand)->automatic updates

这篇关于android SDK 中缺少 platform-toolsaapt.exe 目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何使用 JAVA 向 COM PORT 发送数据?
How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)...
2024-08-25 Java开发问题
21

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

如何在java中找出依赖于语言环境的文本方向?
How to find out locale-dependent text orientation in java?(如何在java中找出依赖于语言环境的文本方向?)...
2024-08-25 Java开发问题
24

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Java 代表?
Java Delegates?(Java 代表?)...
2024-08-25 Java开发问题
15

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4