I have an Eclipse workspace with some Android projects, some are library projects others are Android application projects that depends on these libraries.
For example I have Lib1 Lib2 Lib3
as libraries and App1 App2
ad application.
App1
needs Lib1
and Lib3
, App2
need Lib1 Lib2 Lib3
.
I would like to migrate to Android Studio. I already have a gradle build script for each project, and I already use gradle to build the apks.
How can I convert the Eclipse workspace to one or more Android Studio projects?
From what I read here Project vs Module is not a good practice to have multiple app in one Android Studio project, but you can have multiple library modules in one project. So I guess I have to create one module for each App and import the libraries multiple times, one time for each project. And have something like this:
App1
Lib1
Lib3
App3
Lib1
Lib2
Lib3