Android Jar libraries

前端 未结 7 536
名媛妹妹
名媛妹妹 2020-12-12 20:23

How do you setup a project that can result in a jar library file that can be used for android? I want to create a custom library across all projects.

Few other quest

7条回答
  •  时光取名叫无心
    2020-12-12 21:05

    Google just release a new version of the SDK that handles Shared Libraries!

    https://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject

    ADT 0.9.7 (May 2010)

    Library projects:
    The ADT Plugin now supports the use of library projects during development, a capability that lets you store shared Android application code and resources in a separate development project. You can then reference the library project from other Android projects and, at build time, the tools compile the shared code and resources as part of the dependent applications. More information about this feature is available in the Developing in Eclipse with ADT document. If you are not developing in Eclipse, SDK Tools r6 provides the equivalent library project support through the Ant build system.

提交回复
热议问题