The usual process for using V7 's support library (note is under Android Studio)
Download First
The main repository is the support library,
When used in the project, you need to add such a sentence in the app's Build.gradle file: (Each item has an open tab name that is the app's Build.gradle file, not the one with the tab name being the project name)
Add something like this (that is, a line marked by a yellow warning)
( Note: There is no need to add v7 and v4. jar files for both libraries in your Libs folder, as this will create a dependency conflict, and if you have built the project using either the V4 or the V7 dependent jar files, it is best to delete all the jars under Libs and then clean the project again, otherwise Dexdebu G will make a mistake )
Then the activity's theme is set to the following style or its subclass
Then change all the activity that inherits from the activity class to Actionbaractivity
Finally, when using V7 's control properties, use such a namespace and use the properties of this namespace instead of the properties of the Android namespace
Because the V7 library is self-v4, it is not necessary to import the V4 library again.
In addition the above import is AppCompat of this V7 library, the other library import may be similar, because there is no encounter, do not describe.
Because the UI project in sample from the beginning of the introduction of the V7 Actionbar, to yesterday I learned Humpty, had to surf the internet to check a lot of information, did a lot of work, and finally still behave in accordance with the description of docs walked again.
Bask in the shareprovider. After the implementation of the sample interface:
Above.
In addition, if the SDK Manager is unable to connect to Google, you can search for some VPN to use when the speed of the words will not take much time.
For general use of ANDROID-SUPPORT-V7