Error inflating class Android support design

前端 未结 5 1762
囚心锁ツ
囚心锁ツ 2021-02-19 08:03

What I am trying to do is use the new android support design library mentioned here: http://android-developers.blogspot.com/2015/05/android-design-support-library.html.

5条回答
  •  不思量自难忘°
    2021-02-19 08:52

    If everything else doesn't work, Upgrade the version of the dependency and version. In your build.gradle file:

    compileSdkVersion 24
    
    compile 'com.android.support:appcompat-v7:24.2.0'
    compile 'com.android.support:design:24.2.0'
    compile 'com.android.support:recyclerview-v7:24.2.0'
    compile 'com.android.support:cardview-v7:24.2.0'
    

提交回复
热议问题