title: Failed to complete Gradle execution cause write access is allowed from event dispatch thread only
body: <p>when I open my android studio, after completing the Gradle build, i get the following error 
  "Failed to complete Gradle execution</p>
  
  <p>cause: </p>
  
  <p>write access is allowed from event dispatch thread only"</p>
  
  <p>what do I do ?</p>
  
  <p><strong>Here is the picture of error message</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ZrcFa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZrcFa.png" alt="enter image description here"></a></p>