Adding a library/JAR to an Eclipse Android project

后端 未结 8 1930
长发绾君心
长发绾君心 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..

    0 讨论(0)
  • 2020-11-22 03:26

    Error parsing XML: unbound prefix

    Resource '/playteddy/res' does not exist.

    I got the above two errors and finally I solved it.

    Right click your project -> properties -> java build path -> googleadmobadsdk (select and put it top), then you run and problem solved. It is solved my runtime error.

    0 讨论(0)
提交回复
热议问题