Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

The new RecyclerView does not yet work in Studio. We are working on a fix.

Working through the Android course I get Android Studio throwing an exception when I try to edit an activity xml file. Checked out the issue number and it appears to be a common problem that is awaiting a solution from Google. Any advice on how to proceed?

1 Answer

George Pirchalaishvili
George Pirchalaishvili
3,747 Points

Maybe you should update your Android Studio? What version are you using?

you can also try to add this to dependencies:

compile 'com.android.support:recyclerview-v7:21.0.+'

Thanks for your answer George. I am using version 1.1.0 which I believe is the latest. I have also included the suggested line in the build.gradle file also to no effect. The issue seems to be a known bug in this version of Android Studio so I guess I will just have to await a solution from Google...