Android Project introduces a three-party class library configuration file

Source: Internet
Author: User

Android projects may use a lot of external three-party libraries, such as **.jar or reference a third project, then where do they refer to these things? Let's see.

If the introduction of a three-party jar package, we default is placed in the Libs folder, and we add to build path by adding our classpath, then this action will affect the configuration file is which, the effect is:. Classpath We look at the configuration file content: That's it, we can set it by right-clicking Add to build path in eclipse, assuming that if we don't want to put our package under LIBS, we'll manually configure the Classpath file,  This makes it easy to find our classpath, to be confirmed. The introduction of the three-party project, that is, we right-properties->android->library-> this way to join the three-party project as a library, which is put in which configuration file? Actually it was put on: In the project.properties configuration file, let's look at the following: Target=android-17 android.library.reference.1=. \\autorefreshlistviewandroid.library.reference.2=. \\commontoolsandroid.library.reference.3=. \\chejtandroid.library.reference.4=. \\libraryandroid.library.reference.5=. /idcator_library we've seen this. We've introduced five external projects as an external class library, well, now that we're familiar with a common configuration of project introductions, let's get started.

Android Project introduces a three-party class library configuration file

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.