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 an Interactive Story App (Retired) Finishing the User Interface Customizing the Buttons

Sambhav Anand
Sambhav Anand
2,010 Points

I am getting a weird error when I'm trying to run my app.

Error:(5, 25) Color value not valid -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'background' with value '#fffffff'). Error:Execution failed for task ':app:processDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Sambhav\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1

I'm getting this error when I try to run my app after creating the layouts as described in the video lecture.

1 Answer

You are either missing an f or have too many should be #ffffff or #ffffffff

Sambhav Anand
Sambhav Anand
2,010 Points

I rectified it but now am getting this error Error:(54, 1) error: class, interface, or enum expected Error:Execution failed for task ':app:compileDebugJava'.

Compilation failed; see the compiler error output for details.

does it give you a file name?

Can you post some of the code? There is a bug near or around line 54.

Sambhav Anand
Sambhav Anand
2,010 Points

Thanks, I rectified the code.