Adding a library/JAR to an Eclipse Android project

后端 未结 8 2057
长发绾君心
长发绾君心 2020-11-22 02:59

This is a two-part question about adding a third-party library (JAR) to an Android project in Eclipse.

The first part of the question is, when I try to add a third-p

8条回答
  •  轮回少年
    2020-11-22 03:17

    Put the source in a folder outside yourt workspace. Rightclick in the project-explorer, and select "Import..."

    Import the project in your workspace as an Android project. Try to build it, and make sure it is marked as a library project. Also make sure it is build with Google API support, if not you will get compile errors.

    Then, in right click on your main project in the project explorer. Select properties, then select Android on the left. In the library section below, click "Add"..

    The mapview-balloons library should now be available to add to your project..

提交回复
热议问题