Eclipse ADT Plugin - No Build Target Available

2020-03-01 06:49发布

When trying to create a new Android Project with Eclipse, there is no Build Target available.

I have:

  • Installed ADT Plugin
  • Created a virtual device
  • Installed Android SDK, installed platform + platform tools
  • Set the Android SDK path to Eclipse.

I have tried every fix I have found, but they just tell me to do those things I just mentioned.

EDIT:

In Window -> Preferences -> Android, it accepted my path, but there is No target avaible there.

And yes, I have installed:

Android SDK tools, revision 10 Android SDK platform-tools, revision 3 SDK platform Android 2.2 API 8, revision 2

7条回答
The star\"
2楼-- · 2020-03-01 07:14

Set your SDK home once again in your Android Preferences on Eclipse.

查看更多
够拽才男人
3楼-- · 2020-03-01 07:14

I had this issue, none of the above solutions worked for me.

I uninstalled the Eclipse Android tools and reinstalled them, this of course required two Eclipse restarts. Net effect the targets showed uo again correctly.

查看更多
该账号已被封号
4楼-- · 2020-03-01 07:17

Try to restart the Eclpise and check if it works. Still problem persist then once again set the SDK Location by going to windows->preference->android

查看更多
男人必须洒脱
5楼-- · 2020-03-01 07:19

So you try to create a new Android Project with Eclipse, there is no Build Target available. Please Goto Window -> Android SDK Manager. Now try to install all new updates. After all installation finished, restart your ADT or Eclipse. Problem may resolved.

查看更多
来,给爷笑一个
6楼-- · 2020-03-01 07:27

To create a Virtual Device

  • Run \android\tools\android.bat
  • Virtual Devices -> New

Add this device as your target.

查看更多
萌系小妹纸
7楼-- · 2020-03-01 07:33

I had the same problem, preferences->android page's targets list was empty even when pointing to a valid SDK location on Ubuntu 10.10. Eclipse restart solved the problem.

查看更多
登录 后发表回答