android SDK中缺少platform-tools\aapt.exe目录 [英] platform-tools\aapt.exe directory missing in android SDK

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

问题描述

我正在尝试使用Eclipse为Android SDK开发hello world。我正在按照本教程一步一步执行:



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



但我已经返回错误执行aapt时出错请检查aapt是否存在于C:\android-sdk-windows\platform-tools\aapt.exe



由于某些原因在我的安装下,platform-tools文件夹不存在。在那里我找到平台和工具。大概我的SDK版本与本教程中使用的不同。



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



谢谢

解决方案

你正在运行什么版本的SDK? (1.5_r2或某些东西?)*



我建议更新您的SDK并完成它;)
您可以通过Android SDK和AVD Manager。



Eclipse:

menu-> window->Android SDK and AVD Manager / code>



您可能还想更改此设置:

menu-> window-> ; preferences-> install / update->(展开) - >自动更新


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

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

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?

Thank you

解决方案

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

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

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

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

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

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