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 Running the Fun Facts Project

Alex Jackson
PLUS
Alex Jackson
Courses Plus Student 1,352 Points

FAILURE: Build failed with an exception. Execution failed for task ':app:transformClassesWithDexF...

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1.

I can run the AVD but then that comes up with the message "Unfortunately Launcher3 has stopped working". I have also clicked 'Clean Project' and 'Rebuild Project' which seems to get rid of the error, however when I click Run again, the error returns.