Error inflating class and android.support.v7.widget.CardView

后端 未结 15 1636
-上瘾入骨i
-上瘾入骨i 2020-11-27 20:47

I want to use CardView in my project, but when I run my application, I get the following error. I\'m using Eclipse.

Error: Error inflating clas         


        
15条回答
  •  天涯浪人
    2020-11-27 21:30

    I solved my problem by restarting the eclipse. Also make sure you have added the jars in build path and marked it for import/export.

提交回复
热议问题