platform-toolsaapt.exe directory missing in android SDK(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 目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:android SDK 中缺少 platform-toolsaapt.exe 目录
基础教程推荐
- Java ECDSAwithSHA256 签名长度不一致 2022-01-01
- 控制台应用程序中的 Java 键盘输入解析 2022-01-01
- 在springboot中如何给mybatis加拦截器 2023-04-29
- Maven:无效的目标版本:10 2022-01-01
- 如何在相机中应用自定义滤镜 [Surfaceview 预览]. 2022-01-01
- 在java中使用xpath和selenium解析HTML表格数据 2022-01-01
- doFilter()是在servlet的工作完成之前还是之后执行的? 2022-01-01
- JPA惰性列表上的流 2022-01-01
- 将 Windows 证书导入 Java 2022-01-01
- 将 double 转换为 Int,向下舍入 2022-01-01
