简体   繁体   中英

unable to add Android Support Library version 7

I have a question. I want to use ActionBar in my app and the min sdk is set to 7. and I have to import android.support.v7.*; . but when I import to my app , after putting support library, I see v4 but not v7. I have downloaded the latest version of android support library by android SDK manager. I have googled this question and I found some question like mine but no useful answer.

thank you all a lot.

this wasn't useful "or i just didn't got the answer" : link

The procedure is different from including the android.support.v4 jar. The android.support.v7 libraries are provided as source code that need to be imported, built and then included in your project. The link here has all the information you need : Android Support Libraries Setup

Look under, Adding Support Libraries -> Adding libraries with resources. There is information for both Eclipse/ADT and Android Studio. I have successfully included the support action bar in my development.

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