Skip to content Skip to sidebar Skip to footer

Classcastexception On Support-library-v7 , Using Version 21

Background Over the past 2 weeks I've been moving my app from ActionBarSherlock to the official support library of Google, to also gain Material-Design style. I've updated to the n

Solution 1:

I had the same problem and found the culprit. It's when you have these 2 elements in your AppCompat theme:

<item name="android:windowNoTitle">false</item>
<item name="android:windowActionBar">true</item>

The crash only seems to occur on KitKat.

Post a Comment for "Classcastexception On Support-library-v7 , Using Version 21"