I\'m trying to upgrade my app from API19 to API21
The main changes I\'ve made to the gradle properties are:
compileSdkVersion 21 buildToolsVersion \"
I had similar issue, i'm using AppCompat.v21 and supporting Android 5.0.
My layout uses the ?attr/[attribute_name] for some values and I use the activity context.
I changed it to ?android:attr/[attribute_name] and now my views inflate just fine on devices running Android 5.0.