Actually it is not the matter of the primarycolortext
, upgrading or downgrading the dependencies.This problem will likely occur when the version of your appcompat
library and design support library doesn’t match.
Example of matching condition
compile 'com.android.support:appcompat-v7:23.1.1' // appcompat library
compile 'com.android.support:design:23.1.1' //design support library