title: How to fix "Failed to notify build listener" error?
body: <p>this error came up when turned on my PC. And opened the Android Studio. The Gradle build took longer than normal and when it finally built there was this error. It is may be caused by the wrong committing my work from PC to my laptop (through GitHub). But I am not sure I am new here so It may also not be caused by this. Thank you for all the answers.</p>
  
  <p>I have tried to open and close AS on both devices and update them.
  And also tried to regradle them.</p>
  
  <pre><code>AppName: sync failed date Failed to notify build listener.
  
  
  Run build:
  
  org.gradle.internal.exceptions.LocationAwareException: Failed to notify build listener. &lt;76 internal calls&gt;
  
  Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify build listener. &lt;8 internal calls&gt;
  
  Caused by: java.lang.AbstractMethodError &lt;54 internal calls&gt;
  
  
  Build model'org.jetbrains.plugins.gradle.model.BuildScriptClasspathModel' for root project 'AppName':
  
  java.lang.AbstractMethodError &lt;135 internal calls&gt;
  
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
      at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>On my laptop, it is working but not on PC. I can´t view my XML preview and not even pull things from GitHub.</p>