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 trialMUZ140837 Trust Mubaiwa
5,597 Pointsfailing to run the Ribbit application after attaching Parse
Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_72\bin\java.exe'' finished with non-zero exit value 2
1 Answer
Harry James
14,780 PointsHey there!
I also got this issue with my project - it's actually a problem with the current Parse library.
What's happening is there's two different versions of the Facebook API in the Parse library. Open up your libs folder and you will see ParseFacebookUtilsV4 and ParseFacebookUtilsV3 - the two versions are conflicting.
To solve the problem, delete any files relating to V3 but keep V4 - then try the Gradle sync again and the problem should go away.
Hopefully this should help but if you're still having problems, give me a shout :)