简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM