Android support library v7

匆匆过客 提交于 2019-12-13 03:48:50

问题


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?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/24179340/android-support-library-v7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!