Beginner Android for three months, the UI is very old, so decided to go to GitHub to download a few tall UI effect to install the façade. But down, but found that the third-party library will not be imported into their own projects, tossing for a long time. Since many bloggers on the web may have different versions of the tutorial than my Android studio, the interface is not the same, so I have been groping for a long time with their hands-on guidance. Now record the import method in case you forget later.
1, I download is a class library called Satellite-menu . For example, Satellite-menu is a class library, and Satellite-menu-sample is a sample use of this class library.
2. Create your own project
3. Drag the class library into the project catalog App.libs
4, can see, Satellite-menu already in Libs this directory
5. Open the Project module settings
6. Click the green plus sign to add module
7, choose to join the existing engineering library
8. Allow Android studio to automatically transform the structure
9, after the completion of the file structure can be seen in the Satellite-menu class library
10. Add a third-party class library to your project's dependency list in the Project module settings
11, complete the addition, class library classes can be used freely
Android Studio joins third-party class libraries