我正在尝试让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 目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!