简体   繁体   中英

Compatible with older versions of Android

http://developer.android.com/training/implementing-navigation/nav-drawer.html

I have implemented this feature, it quite well works on android 4.0 and up.

But I need to make this project compatible with android 2.2, 3.0 etc.

I tried to add android-support library but it does not work, since someone suggested to do so.

How can I achieve my goal?

It should work with adding the support v4 library jar. However, it is recently added and using an older version of this jar will result in errors.

Update your ADK & ADT and start a new Android project. This will create a new project with the latest and greatest support v4 library. Just copy-paste that in your libs/ folder of your own project to replace the old one.

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