原因:引用的庫版本要與本地編譯版本對應(yīng)梦湘,我使用的是compile'com.android.support:design:25.0.1'瞎颗,而我compilesdkversions是23,所以會報錯要對應(yīng)起來捌议。
/You have to use compileSdkVersion=22
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:design:22.2.1'
//You have to use compileSdkVersion=23
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:design:23.2.1'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:design:23.1.0'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:design:23.0.0'