title: android: Exception in org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
body: <p>I'm trying to setup an environment in which I can develop android apps on an Ubuntu <em>server</em> 13.04. Therefore, I can only use the command line.</p>
  
  <p>When I run <code>android</code>, just to check if it's working, I get:</p>
  
  <pre><code>Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
      at org.eclipse.swt.SWT.error(Unknown Source)
      at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
      at org.eclipse.swt.widgets.Display.create(Unknown Source)
      at org.eclipse.swt.graphics.Device.&lt;init&gt;(Unknown Source)
      at org.eclipse.swt.widgets.Display.&lt;init&gt;(Unknown Source)
      at org.eclipse.swt.widgets.Display.&lt;init&gt;(Unknown Source)
      at org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
      at org.eclipse.swt.widgets.Shell.&lt;init&gt;(Unknown Source)
      at org.eclipse.swt.widgets.Shell.&lt;init&gt;(Unknown Source)
      at com.android.sdkuilib.internal.repository.ui.SdkUpdaterWindowImpl2.createShell(SdkUpdaterWindowImpl2.java:168)
      at com.android.sdkuilib.internal.repository.ui.SdkUpdaterWindowImpl2.open(SdkUpdaterWindowImpl2.java:137)
      at com.android.sdkuilib.repository.SdkUpdaterWindow.open(SdkUpdaterWindow.java:111)
      at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:356)
      at com.android.sdkmanager.Main.doAction(Main.java:334)
      at com.android.sdkmanager.Main.run(Main.java:120)
      at com.android.sdkmanager.Main.main(Main.java:103)
  </code></pre>
  
  <p>What I've done so far:</p>
  
  <ul>
  <li><code>apt-get install ant</code></li>
  <li>Downloaded the "ADT bundle" from <a href="http://developer.android.com/sdk/index.html" rel="noreferrer">http://developer.android.com/sdk/index.html</a></li>
  <li>Unpacked it in my home directory <code>/home/camilstaps</code></li>
  <li>Added <code>/home/camilstaps/adt-bundle-linux/tools</code> to my <code>PATH</code> environment variable</li>
  </ul>
  
  <p>What can I do to solve this exception?</p>