Specifying Android project dependencies (in Eclipse)

前端 未结 5 798
一整个雨季
一整个雨季 2020-12-25 13:38

I have two Android projects, a \'library project\' containing a custom layout, and an \'application project\' containing an application which uses the layout.

Everyt

5条回答
  •  天命终不由人
    2020-12-25 14:03

    The "Export your library as a jar" solution" only works if your library project contains source code only. In this case the OP's question mentions that his library project contains ui-related stuff.

    We have the exact same issue on my team of wanting to have library projects that hold ui-related source and resources. We ended up overhauling our Ant build system in order to have applications engulf the library projects during build time. Unfortunately no solution of this sort seems to be compatible with Eclipse and this is a major source of frustration for the developers. We are still able to use Eclipse, but we have to jump through hoops to get it working and have to put up with diminished productivity.

提交回复
热议问题