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 a Blog Reader Android App Rebuilding from Scratch All About @string Resources

I've finished this challenge 3 times and I get a communication error at the end every time

Please advise on how I can get credit for this challenge

StringTest.java
Resources resources = getResources();

String[] phoneNumberLabels = resources.getStringArray(R.array.phoneNumbers);


Button saveButton = (Button) findViewById(R.id.saveButton);

String label = getString(R.string.saveLabel);

saveButton.setText(label);
strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string name="saveLabel">Save My Changes</string>

  <string-array name="phoneNumbers">
    <item>Home</item>
        <item>Work</item>
        <item>Mobile</item>
  </string-array>

</resources>