I am using IntelliJ / Android Studio with Ant build (not Gradle at the moment) and I am trying to use android-support-v7-cardview.jar, but I keep getting
android.view.InflateException: Binary XML file line #19: Error inflating class android.support.v7.widget.CardView java.lang.NoClassDefFoundError: android.support.v7.cardview.R$styleable
I do not use m2repository with aar file, but use map in place
sdk/extras/android/support/v7
I got the job using the classes from jar in my own project, but this requires API 21 (5.0), which I don't want to use yet. I am trying to use the jar file in the libs folder and res files from
sdk/extras/android/support/v7/cardview/res
I added the lib and res files to my own project, but I still get the error messages above. What should I do?
android android-cardview
John61590
source share