問(wèn)題描述
我正在嘗試讓hello world"在帶有 Eclipse 的 Android SDK 上工作.我正在逐步學(xué)習(xí)本教程:
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
但我返回錯(cuò)誤執(zhí)行 aapt 時(shí)出錯(cuò).請(qǐng)檢查 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"文件夾.取而代之的是平臺(tái)"和工具".據(jù)推測(cè),我的 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.
我無(wú)法確定需要更改或更新的內(nèi)容.有人可以指出我正確的方向嗎?
I can't work out what i need to change or update. Can someone please point me in the correct direction?
謝謝
推薦答案
*你運(yùn)行的是什么版本的SDK?(1.5_r2 還是什么?)*
*What version of the SDK are you running? (1.5_r2 or something?)*
我建議更新您的 SDK 并完成它;)您可以通過(guò)Android SDK 和 AVD 管理器"執(zhí)行此操作.
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"
您可能還想更改此設(shè)置:menu->window->preferences->install/update->(expand)->自動(dòng)更新
You might also want to change this setting:
menu->window->preferences->install/update->(expand)->automatic updates
這篇關(guān)于android SDK 中缺少 platform-toolsaapt.exe 目錄的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!