Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App Getting Started with Android Creating the Fun Facts Project

Tor Saxberg
Tor Saxberg
115 Points

failed to sync to Gradle project: ch.qos.logback.calssic... cannot be cast to org.gradle.internal.logging.slf4j

I just opeend Android Studio 2.2 and got this error just after making the project. I followed the steps of the video exactly, but still got this error: failed to sync to Gradle project. cause: ch.qos.logback.calssic.LoggerContext cannot be cast to org.gradle.internal.logging.slf4j.OutputEventListenerBackedLoggerContext

i tried uninstalling and re-installing, i tried replacing the dependencies { classpath 'com.android.tools.build:gradle:2.2.0'} to gradle:2.1.0 in build.gradle file in the gradle scripts and/or adding the dependency to the build.gradle under apps->src.

i tried the answer from https://groups.google.com/forum/#!topic/liftweb/QB_bMgsQBwU, but i don't know how to find the folder: ~/.ivy2/cached

but the error still shows up every time i make a project, and i am unable to run the MainActivity.java file (or any file).