title: IntelliJ IDEA unable to find android sdk
body: <p>I'm trying to import a libGDX project into IntelliJ running OSX 10.9. When creating my own project it's not an issue specifying the path to the android sdk in the gdx-setup, but when importing one I keep getting the issue:</p>
  
  <pre><code>SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/twy7Z.png" alt="Screenshot"></p>
  
  <p>I haven't found anything resembling a local.properties file and wouldn't know how to create one, so I set the ANDROID_HOME environment variable with the path to my android sdk, adding this to my .bash_profile: <code>export ANDROID_HOME=/Applications/android-sdk</code>
  Additionally I added <code>$ANDROID_HOME:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools</code> to my PATH as well, which seems somewhat overkill, but unfortunately the <a href="https://superuser.com/questions/345294/recursively-add-directory-to-path-variable">PATH isn't recursive</a>.</p>
  
  <p>IntelliJ isn't getting any of this however, I'm guessing adding it to my .bash_profile isn't the right way of doing it?</p>
  
  <p>Thank you very much in advance!</p>