I am trying to use the CoordinatorLayout from the new Android design library. I added the package to gradle; then I try to use the layout I get this error:
j
First update android studio to latest version (beta) 1.3 beta version. [Using menu option 'Check for updates' from android studio]
Render your preview using Android M preview.

If you are not able to find the beta update change android studio settings(Updates), then update that patch and render with M preview
