I\'m getting a compile error after adding CardView and RecyclerView dependencies, I\'ve checked every post but no one seems to solve this case.
You need to use the same android support library version. You need to use support library 26.0.0-alpha1 version. So change the following:
compile 'com.android.support:appcompat-v7:25.3.1'
to
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
You also need to change the compileSdkVersion and targetSdkVersion to version 26.