Eclipse: new Android project. Can’t select Build Type / Target

This caused a good 30 mins head scratching. When creating a new Android project in Eclipse it is not possible to progress past the initial screen as it complains “an SDK target must be specified”.  In the window you will see “Build Target” but no box listing your installed Android Versions. The area of the window normally looks something like this.

But for unlucky you, it looks like this.

Providing you know Eclipse is aware of where your SDKs live, the solution is simply to change the font size in eclipse.

Window / Preferences / General / Appearance / Colours and Fonts

Change “Text Font” and “Dialog Font” to a smaller value, dropping from 10 to 8 helped me.

Now for the rant: The “New Android Test Project” dialogue does not suffer this problem, because there aren’t as many UI elements on screen. It wouldn’t surprise me if this is a simple code error somewhere, exacerbated by the fact that most developers aren’t working on “funny” resolutions, such as my widescreen 13″ XPS M1210 Laptop.

Simply put you’d hope the application would ensure all UI components were properly displayed. At the end of the day such schoolboy-error fiddly problems are what put people off IT and software development. There seem to be a fair few people moaning about this one, so whilst buuuuuuuuugs happen I hope someone somewhere is suitably embarrassed… ;)

If you feel like sharing this article, please do so below:
  • del.icio.us
  • Fark
  • NewsVine
  • Facebook
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • YahooMyWeb
  • Digg

3 comments to Eclipse: new Android project. Can’t select Build Type / Target

  • Will Ware

    I ran into this problem running Ubuntu and Eclipse on an Acer AO751h netbook, which has 1366×768 screen resolution. Quite annoying, thank you for posting the fix. It would have taken me a long time (if ever) to get around to trying to shrink font sizes. Though at that screen size, 8 is really small, and my code editor then appears at 8. So I’ll try 9 maybe. Anyway, thanks again.

  • Dan

    Hi Will,
    Thank you very much for publishing this. It was driving me crazy.

    Best,
    Dan

  • Dave

    Thank You,
    I would never have even considered changing the text size, I too have a 1366X768 laptop and changing the text size would never have occurred to me. Is it really that hard to include scroll bars in the window, I understand trying to reduce scrolling, but I’d much rather scroll down an inch than adjust the font all of the time.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">