title: Android Studio and PhoneGap, Module android is not backed by gradle
body: <p>A while back I've worked with Eclipse and Phonegap and I've successfully deployed a few Android apps. So now I'm trying to get the new Phonegap/Cordova app up and running in Android Studio but so far without any luck. Here's what I've tried:</p>
  
  <p>1) I've generated a cordova app and added android as platform.</p>
  
  <pre><code>cordova create hello com.example.hello HelloWorld
  cd hello
  cordova platform add android
  cordova -version
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/1THBm.png" alt="enter image description here">Ok this works</p>
  
  <p>2) Then I start Android Studio and import the generated app and a message "Gradle settings for this project are not configured yet" appears and I press OK.
  <img src="https://i.stack.imgur.com/R4Vj0.png" alt="enter image description here"></p>
  
  <p>3) Then I get an error "Gradle version 1.10 is required. current version is 2.2.1" and after some googling I found <a href="https://github.com/MobileChromeApps/mobile-chrome-apps/issues/473" rel="nofollow noreferrer">a hint here</a> and I changed a line in Gradle from <code>'com.android.tools.build:gradle:0.10.+'</code> to <code>:0.14.+'</code> and now the RUN icon at the top is enabled so it seems to have fixed at least something. Although the version nr doesn't make sense to me but from what I can gather the versions are very specific.</p>
  
  <p>But now I'm stuck on the error "Module android is not backed by gradle" and I don't know what to do.</p>
  
  <p><img src="https://i.stack.imgur.com/WiZm8.png" alt="enter image description here"></p>
  
  <p>Any help would be greatly appreciated.</p>