So I\'m following the official documentation to add the Material Components library to my project https://github.com/material-components/material-components-android/blob/mas
Thought I'd share what fixed this for me now that I|O has started.
I had about the same initial setup as you. To get it working I had to change the following:
'android-P'
'28.0.0-alpha1'
api 'com.android.support:design:28.0.0-alpha1'
in the dependencies block. 'P'
I then did the ritualistic 'Invalidate Caches / Restart' and rebuilt the project for good measure.