简体   繁体   中英

Android support library v7

I am making an android app that contains action bar and fragment which are not supported for API level 8! So I just tried to import support library V7 to fix this problem!

But when I try to do it , it doesn't find support library for V7 , there is support.v4 but not v7. what should I do to fix it? Should I download anything for my android SDK?

Download Android Support Library in Your SDK manager under Extras . Then Import appcompat from following folder in your sdk.

Android-SDK\\extras\\android\\support\\v7\\appcompat

The first step is to download the library through the SDK manager. Support library v7 is a library project, so needs to be added as a new project to your workspace.

Note: You can't just drop the .jar in because it has additional XML resources.

There's some pretty thorough instructions on how to add it located here .

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