Android app Development, how to use/introduce third party extension jar

Source: Internet
Author: User

The Android app I'm currently developing needs to use a third-party jar Hessian-4.0.1.jar, so I added the jar to the project and Export it through order and. For inspection.

Order and Export hints that all classes from the third-party jar are not joined to the running environment.

How can I use third-party jars correctly and quickly in Android engineering? I'm not very good with Ant and Maven.

Processing methods

Here is a good way to effectively add a third-party jar to Android projects

Create a libs directory in the project

Add your third-party jar to Libsmul

The jar is then added to the classpath through the build path > Add to Build Path

After you've done the steps above, you won't be able to find class.


Original address: http://www.itmmd.com/201410/89.html
This article by Meng Meng's IT person to organize the release, reprint must indicate the source.

Android app Development, how to use/introduce third party extension jar

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.