title: Error while importing ionic/cordova project to Android studio
body: <p>I just started working on <code>Ionic</code> framework and created a project using CLI. I have added support for android platform generated an android project using the following command:  </p>
  
  <pre><code>ionic platform add android  
  </code></pre>
  
  <p>This has been done successfully, Now i am importing tha android project to android studio but getting the following error related with gradle.  </p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  Task '' not found in root project 'android'.
  
  * Try:
  Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   
  </code></pre>
  
  <p>Following are the contents of build.gradle file available in cordovaLib folder<br>
  <img src="https://i.stack.imgur.com/hwpVx.png" alt="enter image description here">  </p>
  
  <p>So if am i missing something while importing project or build.gradle needs to be updated?</p>