title: Failed to complete Gradle execution cause: org.gradle.internal.nativeintegration.console.ConsoleMetaData
body: <p>Android studio was working as well, when running the app this error shows up: Failed to complete Gradle execution cause: org.gradle.internal.nativeintegration.console.ConsoleMetaData</p>
  
  <p>and there is warning in build.gradle (Module: app): 'android' cannot be applied to '(groovy.lang.Closure)'</p>
  
  <p>and here the screen shoots:</p>
  
  <p><a href="http://i.stack.imgur.com/VWbm6.png" rel="nofollow">error messages while building</a></p>
  
  <p><a href="http://i.stack.imgur.com/at3P1.png" rel="nofollow">and this while cleaning project</a></p>
  
  <p>i deeply search on the web but no luck.</p>
  
  <p>*Note: this error shows when i open any app i developed already!</p>