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.
I have tried to open and close AS on both devices and update them. And also tried to regradle them.
AppName: sync failed date Failed to notify build listener.
Run build:
org.gradle.internal.exceptions.LocationAwareException: Failed to notify build listener. <76 internal calls>
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify build listener. <8 internal calls>
Caused by: java.lang.AbstractMethodError <54 internal calls>
Build model'org.jetbrains.plugins.gradle.model.BuildScriptClasspathModel' for root project 'AppName':
java.lang.AbstractMethodError <135 internal calls>
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)
On my laptop, it is working but not on PC. I can´t view my XML preview and not even pull things from GitHub.