Add jbox2d to Android

Source: Internet
Author: User

In the past few days, I started to get jbox2d. on Android, the first time I joined a third-party jar, I encountered some problems. This is common.ArticleI will not mention it, so I have recorded it here, hoping to save valuable time for developers who encounter the same problem.

To add a third-party jar package to Android, follow these steps:

1. Download third-party jar.

2. Create a libs folder. Under your project directory, you can create a your eclipse/Android project. Copy the JAR file to the libs file.

3. Refresh the project in eclipse.

4. Right-click your project, build path-> Configure build path-> Add jars, add the jar under libs, and then OK.

Source of additional solution: http://stackoverflow.com/questions/3642928/adding-a-library-jar-to-an-eclipse-android-project

 

Related Article

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.