Android Studio uses Gradle to configure project-required jar packages in the graphical interface

Source: Internet
Author: User

Using third-party jar packages in Android Studio, you can download them directly and add them to your project, or you can manage them using the Gradle configuration. The graphical interface is very simple.

Click the middle icon, or select Model, press F4

Select the Dependencies tab after opening the Project Structure panel

Click on the + sign, select 1 Library dependency, we download Google-provided Gson.jar package from the Internet server

Enter the name of the jar package you want in the text box of the popup box, preferably the package name. Click the Find button on the right, and if the default server is available, the required jar package will appear in the list.

Finally click OK, wait for Gradle download compile. Sometimes the wait is longer and you can stop trying again.

Android Studio uses Gradle to configure project-required jar packages in the graphical interface

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.