title: Gradle Sync Error - Importing Gradle Project into Android Studio from Unity
body: <p>The Error:<br>
  org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection</p>
  
  <p>I'm trying to import my Unity Android Gradle Export into Android Studio so I can modify my androidmanifest manually. This app is very simple, only asking for "anykeyDown", plays a short audio clip on loop, and has 1 UI text element. While the project is importing I run into this Gradle Sync Issues error and I'm pretty stumped.</p>
  
  <p>It offers these three solutions:<br>
  - Re-download dependencies. Doesn't work.<br>
  - Stop Gradle build processes and restart. Doesn't work.<br>
  - Your project may be using a 3rd party plugin which is not compatible with the other plugins in the project or version of Gradle requested by the project.</p>
  
  <p>The last suggestion could be the key, but I've looked at a few workflows for Unity to Android Studio and they don't address this issue.</p>
  
  <p>There is currently a bug in Unity 5.6 that makes it incompatible with the latest Android SDK Tools and it is necessary to use an older version of those tools to export the project. I wonder if the latest Gradle is complaining because of that?</p>
  
  <p>Any direction would be appreciated - Thanks!</p>