我找不到com.android.工具,找不到android sdk構建工具。

When i create a new android application project in eclipse the gen - file is empty. I found out I have to install android sdk build-tools but in the tools folder there's just the Android SDK tools and the android platform tools. It's revision 22

當我在eclipse中創建一個新的android應用程序項目時,gen - file是空的。我發現我必須安裝android sdk構建工具,但在工具文件夾中只有android sdk工具和android平台工具。這是修訂22

4 个解决方案

#1

0

May be you can use ADT bundle (http://developer.android.com/sdk/index.html) and avoid the manual installing of SDK and eclipse plugins. All you need to do is to download it, unzip it and start using eclipse to create your apps.

您可以使用ADT bundle (http://developer.android.com/sdk/index.html),避免手動安裝SDK和eclipse插件。您所需要做的就是下載、解壓它並開始使用eclipse創建應用程序。

#2

4

You need to start the SDK Manager and download the build-tools from there.

您需要啟動SDK管理器並從那里下載構建工具。

03a6102431dd55579c8d97d5715ecf99.png

#3

1

You'll need to update the ADT (Android Development Tools) in Eclipse to the newest version first (see this post for more info on how to do this). What also worked for me was to get the Android API and all the extras updated before I could update the build-tools.

您將需要首先將Eclipse中的ADT (Android開發工具)更新到最新的版本(有關如何進行此操作的更多信息,請參閱本文)。對我來說,在我更新構建工具之前,還需要更新Android API和所有額外的功能。

#4

0

I had the same concern.

我也有同樣的擔心。

You may be looking in the wrong sdk folder.

您可能正在查找錯誤的sdk文件夾。

I had two on my machine. One from before I started using the ADT Bundle. when you open Eclipse sometimes it opens the SDK manager for the wrong SDK. Open it manually from the bundle you downloaded.

我的機器上有兩個。在我開始使用ADT包之前。當您打開Eclipse時,有時它會為錯誤的SDK打開SDK管理器。從下載的包中手動打開它。

Hope this helps.

希望這個有幫助。

内容概要:本文档是详尽的 Android SDK 中文帮助文档,介绍了 Android SDK 的核心概念、组件、开发环境搭建、基础开发流程及常用工具使用指南。首先解释了 Android SDK 的定义及其核心价值,即提供标准化开发环境,使开发者能高效构建、测试、优化 Android 应用。接着详细列出了 SDK 的核心组件,包括 Android Studio、SDK Tools、Platform Tools、Build Tools、Android 平台版本和系统镜像。随后,文档提供了详细的环境搭建步骤,适用于 Windows、macOS 和 Linux 系统,并介绍了基础开发流程,以“Hello World”为例展示了从创建项目到运行应用的全过程。此外,还深入讲解了 ADB、AVD Manager 和 SDK Manager 等核心工具的功能和使用方法。最后,文档涵盖了调试与优化工具(如 Logcat、Profiler 和 Layout Inspector)、关键开发技巧(如多版本 SDK 兼容、Jetpack 库的使用和资源文件管理)以及常见问题的解决方案。 适合人群:具有初步编程知识,希望深入了解 Android 应用开发的开发者,尤其是新手开发者和有一定经验但需要系统化学习 Android SDK 的技术人员。 使用场景及目标:①帮助开发者快速搭建 Android 开发环境;②指导开发者完成基础应用开发,理解核心工具的使用;③提高开发效率,掌握调试与优化技巧;④解决常见开发过程中遇到的问题。 阅读建议:此文档内容全面且实用,建议读者按照章节顺序逐步学习,结合实际开发项目进行练习,尤其要注意动手实践环境搭建和基础开发流程,同时参考提供的扩展学习资源,进一步提升开发技能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值