title: NullPointerException when run with Intellij IDEA new libgdx project for android
body: <p>Steps to reproduce:</p>
  
  <ul>
  <li>download setur.jar - <a href="http://libgdx.badlogicgames.com/download.html" rel="nofollow">http://libgdx.badlogicgames.com/download.html</a></li>
  <li>generate project for desktop, Android, iOS, HTML </li>
  <li>open Intellij IDEA, press Open, and select build.gradle </li>
  <li>wait while gradle will do the staff and than run android project</li>
  </ul>
  
  <p>I am facing some strange issue:</p>
  
  <ul>
  <li>15:32:20 Compilation completed successfully in 11 sec</li>
  <li>15:32:20 NullPointerException: null</li>
  <li>15:32:30 Error Report
       Error Submitting Feedback: null
       Consider creating an issue at Android Issue Tracker</li>
  </ul>
  
  <p>if I press NullPointerException (link), there appears message and stacktrace:</p>
  
  <p>message: Exception in plugin Android Support. x min ago. Occured 2 times since the last clear. Disable plugin... &lt;-- this is a link (if I press this, than Android will be not visible by IDEA at all.</p>
  
  <p>stacktrace:</p>
  
  <pre><code>java.lang.NullPointerException
      at com.sun.proxy.$Proxy169.getMinSdkVersion(Unknown Source)
      at com.android.tools.idea.model.AndroidModuleInfo.getMinSdkVersion(AndroidModuleInfo.java:71)
      at org.jetbrains.android.facet.AndroidFacet.canRunOnDevice(AndroidFacet.java:560)
      at org.jetbrains.android.facet.AndroidFacet.isCompatibleDevice(AndroidFacet.java:536)
      at org.jetbrains.android.run.DeviceChooser$MyDeviceTableModel.getValueAt(DeviceChooser.java:352)
      at javax.swing.JTable.getValueAt(JTable.java:2716)
      at com.intellij.ui.table.JBTable.getRowHeight(JBTable.java:149)
      at javax.swing.JTable.getRowHeight(JTable.java:993)
      at javax.swing.JTable.getCellRect(JTable.java:2936)
      at javax.swing.JTable.valueChanged(JTable.java:4697)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
      at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
      at org.jetbrains.android.run.DeviceChooser.updateTable(DeviceChooser.java:227)
      at org.jetbrains.android.run.DeviceChooser.init(DeviceChooser.java:150)
      at org.jetbrains.android.run.ExtendedDeviceChooserDialog.&lt;init&gt;(ExtendedDeviceChooserDialog.java:124)
      at org.jetbrains.android.run.AndroidRunningState.execute(AndroidRunningState.java:245)
      at com.intellij.execution.runners.DefaultProgramRunner.doExecute(DefaultProgramRunner.java:38)
      at org.jetbrains.android.run.AndroidDebugRunner.doExec(AndroidDebugRunner.java:144)
      at org.jetbrains.android.run.AndroidDebugRunner.doExecute(AndroidDebugRunner.java:135)
      at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:48)
      at com.intellij.execution.impl.ExecutionManagerImpl$2.run(ExecutionManagerImpl.java:208)
      at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:95)
      at com.intellij.execution.impl.ExecutionManagerImpl$1$1.run(ExecutionManagerImpl.java:172)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697)
      at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
      at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  </code></pre>