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


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...