Search code examples
androidandroid-actionbarnavigation-draweractionbardrawertoggle

Cant use ActionBarDrawerToggle due to target sdk version


So long story short ive needed to mess with the dependencies section of the gradle so i had to replace the support for v4 due to a new taget sdk version. Because i cant use v4 support actionbardrawertoggle dosent appear to be showing up anymore which is needed for me to use the navigation drawer properly what can i do is there a way i can still use v4? or is there a simple alternative to actionbardrawertoggle?


Solution

  • So as it turns out all i needed to do was change com.android.support:support-v4:19.1.0 to com.android.support:support-v7:23.0.0' (i switched it to v7 due to v4 being deprecated). I did actually try this earlier however i forgot to ad the '.0.0' at the end which caused the issue. Hope this helps anyone who has the issue.