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

i couldnt launch mt emulator, i got a message that says Error:(7, 17) Resource id cannot be an empty string (at 'id'

Error:Execution failed for task ':app:processDebugResources'.

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

1 Answer

Hello,

I'm not sure if this is going to help you since I can't see the code to know if this is the problem you're having. Could you try searching your layout xml files and see if you have an id that is listed as just "@+id/". If you do could you change that to have an id name after the / and update your code to reference that new id?

If this doesn't help, could you please post your code and layout xml files so that we can assist you further.

Great. You right. Thanks