title: Android Studio 3.1 Canary 3 - Gradle sync failed
body: <p>For a unknown reason Android Studio 3.1 Canary 3 is bugged and stopped to work, I updated gradle to <code>3.1-alpha03</code> and it stopped working, no matter if I download the project again, already downloaded Android Studio again too.</p>
  
  <p>I've already checkout old versions of the project, but this message still show:</p>
  
  <pre><code>Gradle sync failed: com.android.tools.idea.gradle.project.model.AndroidModuleModel.getSelectedVariant()Lcom/android/tools/idea/gradle/project/model/ide/android/IdeVariant; (8s 806ms)
  </code></pre>
  
  <p>I've removed <code>.idea</code> folder, <code>.gradle</code> folder, did invalidate and restart</p>
  
  <p>I don't know nothing more to do, cant run or use the IDE.</p>
  
  <hr>
  
  <p>Edit:</p>
  
  <p><a href="https://i.stack.imgur.com/VoWpG.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/VoWpG.gif" alt="Image"></a></p>
  
  <hr>
  
  <p>Edit2:</p>
  
  <p>New Projects doesnt work too</p>