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 trialSambhav Anand
2,010 PointsI 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
jason phillips
18,131 PointsYou are either missing an f or have too many should be #ffffff or #ffffffff
Sambhav Anand
2,010 PointsSambhav Anand
2,010 PointsI rectified it but now am getting this error Error:(54, 1) error: class, interface, or enum expected Error:Execution failed for task ':app:compileDebugJava'.
jason phillips
18,131 Pointsjason phillips
18,131 Pointsdoes it give you a file name?
Sambhav Anand
2,010 PointsSambhav Anand
2,010 PointsStory.java
jason phillips
18,131 Pointsjason phillips
18,131 PointsCan you post some of the code? There is a bug near or around line 54.
Sambhav Anand
2,010 PointsSambhav Anand
2,010 PointsThanks, I rectified the code.