title: android studio cannot resolve symbol 'GradleException'
body: <p>Creating new Android Studio project get the following exception in Gradle build file:</p>
  
  <pre><code>Cannot resolve symbol 'GradleException'
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Rxymf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Rxymf.png" alt="enter image description here"></a></p>
  
  <p>Gradle still builds successfully, but still shows this error in editor.</p>
  
  <p><strong>What's missing from my project?</strong></p>
  
  <p>Android Studio 3.3.2</p>
  
  <p>Gradle 4.10.1</p>
  
  <p>compileSdkVersion 27</p>