


Unable to load class ''.android studio 3.1.4.Unable to import databinding class in Android Studio.: Unable to find explicit activity class Android Studio Kotlin Error.Android Studio: Unable to load class '.Preconditions', Gradle Sync Failed.Android Studio Unable to find explicit activity class although class exists.Why don't you see how the default gradle files are set up and compare them with yours? I think your gradle file is poorly structured. So: implementation ":kotlin-stdlib-jdk8:$kotlin_version"Īnd why did you set these up in your adle instead of in your app.gradle? Your project may be using a third-party plugin which is notĬompatible with the other plugins in the project or the version ofĬompile ":kotlin-stdlib-jdk8:$kotlin_version"Ĭlasspath ':gradle:3.1.2'Ĭlasspath ":kotlin-gradle-plugin:$kotlin_version"Īlso use "implementation" instead of "compile". If it doesn't work, my guess is exactly what it says: Check if you are working on offline mode:įile > Settings > Search for "offline" > uncheck "offline work"Īfter unchecking offline work, clean and rebuild again.
