Android Studio joins third-party class libraries

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.