I'm just migrating to Android Studio, and I'm a bit confused about how to manage my projects / modules.
For example, in Eclipse I would have 3 projects:
- Library project (has a couple of jar libraries)
- App project 1 (uses the Library project, plus some other jar libraries)
- App project 2 (also uses the Library project, plus some other jar libraries; does not use App project 1)
So if I understand correctly, I would create 2 projects in Android Studio, one for AP1, one for AP2, and in both projects I would add the Library project as a module?
When I do that, I suddenly get two Facets
in the Library module called Android
and Android2
. What does this mean?
Also, if I go a bit further, and add multiple libraries as modules, I get (in the Libraries tab under project settings) multiple libraries, libs
, libs1
, libs2
. These may contain double jars, which AS complains about.
If anyone could clear some stuff up, that would be great. Thanks!