Eclipse ADT Plugin - No Build Target Available

醉酒当歌 提交于 2019-11-30 17:20:38

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

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.

To create a Virtual Device

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

Add this device as your target.

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.

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.

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!