Wednesday, 15 September 2010

Why can I use another Android project as library project without setting is as a library project? -



Why can I use another Android project as library project without setting is as a library project? -

ok know how set android project library project , adding android project library reference.

however after did this, removed checkmark "is library", first project wasn't library project , run normal android project.

the sec project referencing first project working nicely , can alter first project , still utilize straight in sec project.

so why big fuss setting project library, when can remove checkmark afterwards , reference still working? don't - can explain this?

i'm using eclipse 3.7 (indigo) adt plugin version 21.

so why big fuss setting project library, when can remove checkmark afterwards , reference still working? don't - can explain this?

a general rule among programmers "be liberal in accepting input , conservative in generating output". in case, build scheme beingness liberal , using first project library despite not presently beingness marked library.

however:

you cannot set initial host->library relationship without "is library" checked in eclipse

you may not able set initial host->library relationship via android update lib-project without equivalent setting in project.properties (it might work -- haven't tried it)

you should not assume liberal interpretation of input reliable on long haul, future versions of tools may have need check flag , enforce setting

android library-project

No comments:

Post a Comment