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 trialO Family
202 PointsFirst android app run not working.
Got this error when i tried to run the newly created project without adding any code to it, following the tracks Android program. Error: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
1 Answer
Ben Deitch
Treehouse TeacherHey O Family!
I see this error every once in a while, and I'm not sure why it happens. Though theres a couple things that might fix it:
- Clean the project. From the top bar pick Build -> Clean Project.
- Fresh restart of Android Studio. From the top bar pick File -> Invalidate Caches / Restart