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管理器並從那里下載構建工具。
#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.
希望這個有幫助。