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条回答
放我归山
2楼-- · 2020-03-01 07:36

None of the above solutions worked for me. Finally I resolved this by the following steps:

  1. Window > Preferences.
  2. Go to General > Startup and Shutdown: Select Android Development Toolkit.
  3. Restart Eclipse.
  4. Now the list of SDK Targets appeared correctly in Preference > Android page.

The reason is that I disabled some plugins to speed up my Eclipse sometime ago, I need to enable them once again in the aforementioned place.

查看更多
登录 后发表回答