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!
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
Shiina Mashiro757 Points
String types not allowed
Under "Customizing the buttons" of Android Development of Ben, when I run the code we make, an error occur to all @drawables of android studio at values.xml. I don't know how but the "R" symbol in my 2 java class under ui package also has an error saying "Cannot Resolve Symbol 'R'".
Here's the error I got that redirects me to values.xml:
C:\Users\Personal\AndroidStudioProjects\InteractiveStory\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.2.1\res\values\values.xml Error:String types not allowed (at 'activity_horizontal_margin' with value ''). Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Personal\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1