Error when adding CardView to layout

前端 未结 7 1311
借酒劲吻你
借酒劲吻你 2020-12-17 15:20

I wanted to try out the new toys that google gave us and I\'ve run into some trouble.

Here is my build.gradle:

apply plugin: \'com.android.applicatio         


        
7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-17 15:53

    I was able to get this to work by adding the following to my build.gradle: compile 'com.android.support:cardview-v7:21.+'

    Hope this helps.

提交回复
热议问题