我找不到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.

希望這個有幫助。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值