0

我有一个项目,我想制作 jar 文件。但是这个项目需要一些布局和一些可绘制的。

如果我将导出源代码的 jar 文件,我将如何在其他项目中支持布局和可绘制,我将把该 jar 作为 lib。

请帮忙

4

1 回答 1

0

You want an apklib.

I'm not sure if there is a way to bundle them up yourself unless you are using maven.

If you are using eclipse you can right click the project->properties->android and check "is library". Now you will be able to include that project as a dependency in other Android projects in your workspace :project->properties->android->add (in the library section at the bottom).

于 2012-08-03T05:05:24.440 回答