title: using android.support.design library in intellij IDEA Ultimate edition
body: <p>i am using IntelliJ IDEA 15 Ultimate edition to develop an non-gradle android project. To support libraries i copy required .jars into libs folder and then add them as dependency to my main module. Google play services, appCompatv7, supportv4 etc. This my project structure</p>
  
  <p><a href="https://i.stack.imgur.com/51Xaw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/51Xaw.png" alt="all required .jars in libs folder"></a></p>
  
  <p>Since i want to use coordinate layout, i have to use android.support.design library. As usual, i copied .jar from [sdk]/extras/android/support/design/libs folder. But when i use coodrinate layout (or even tabLayout) in my layout xml file, i get rendering errors like this: </p>
  
  <p><a href="https://i.stack.imgur.com/j11rk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j11rk.png" alt="enter image description here"></a></p>
  
  <p>when i press "clear cache", i get error saying that R$attr is not found</p>
  
  <p><a href="https://i.stack.imgur.com/u3oqx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u3oqx.png" alt="enter image description here"></a></p>
  
  <p>I have being banging my head for more than 7-8 hours, searching google and stack exchange, but all solutions are targeted towards Android Studio and gradle based projects. </p>
  
  <p>My Project Structure:
  <a href="https://i.stack.imgur.com/yLsQN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yLsQN.png" alt="enter image description here"></a></p>
  
  <p>SDK tools installed:</p>
  
  <p><a href="https://i.stack.imgur.com/F4FHA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F4FHA.png" alt="enter image description here"></a></p>
  
  <p>What i have tried:</p>
  
  <ol>
  <li><p>changing app theme and version in preview window</p></li>
  <li><p>import android.support.design as module into my project like this
  project structure -> modules -> + -> import module -> sdk/.../support/design. After import, i also ticked "library module". Project structure after import:</p></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/DO9wr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DO9wr.png" alt="enter image description here"></a></p>
  
  <p><strong>All i want is to use android.support.design library in non-gradle project</strong>. </p>
  
  <p>I can create a gradle android project on IntelliJ but i am trying my best to avoid gradle because i am more comfortable with a non-gradle project.</p>
  
  <p>I am so frustrated now, that i can't think of what i am missing or doing wrong (i bet i am). I think R.class for design library is not being generated or something less is missing somewhere. Ahhh!</p>
  
  <p>Any help regarding this issue of mine will be much appreciated. Thank you.</p>