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

General Discussion

Stumped already -- Fun Facts

I have downloaded java and Android Studio and was ready to get started with the Fun Facts beginning app -- but I've already run into an error and I have no idea what the next step is. I tried to run the app and received the following errors:

  • Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
  • Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
  • Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Q\AppData\Local\Android\sdk\build-tools\23.0.0\aapt.exe'' finished with non-zero exit value 1

I'm sure there is something simple to resolve this, but as a beginner -- I don't even know where to begin. Suggestions?

2 Answers

Hi Pekoorb,

In your build.gradle file (the Module: app one) update the values to the following:

android { compileSdkVersion 23 buildToolsVersion '23.0.0'

I hope this helps.

Found a workaround that allows me to keep working on 22

You need to delete the build tools 23 from the sdk manager and then in the sdk folder (yes the actual folder) open up sdk/extras/android/m2repository/com/android/support/appcompat-v7 blow away the entire 23.0.0 folder then in the same appcompat folder open maven-metadata.xml and delete the one line <version>23.0.0</version>

clean and rebuild