平台工具\ aapt.exe目录在Android SDK中失踪目录、工具、平台、exe

2023-09-08 08:51:21 作者:愿有岁月可回首

我试图让世界你好工作在Android SDK与Eclipse。我下面一步该教程的步骤:

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请AAPT是present在C:\ Android的SDK-WINDOWS \平台工具\ aapt.exe

but i'm returned the error "Error executing aapt. Please check aapt is present at C:\android-sdk-windows\platform-tools\aapt.exe"

由于某些原因,该平台工具文件夹中没有我安装下存在。在它的地方,我发现平台和工具。 presumably,我的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".

的Eclipse: 菜单 - >窗口 - >中的Andr​​oid SDK和AVD管理

Eclipse: menu->window->"Android SDK and AVD Manager"

您可能还需要更改此设置: 菜单 - >窗口 - > preferences->安装/最新情况:>(扩大) - >自动更新

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