Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How grouping module in the Android Studio

The structure of my android project:

project-

|-moduleA

|-moduleB

|-moduleC

|-moduleD

how to organize modules in groups like this:

project-

|-group1

|-moduleA1

|-moduleA2

|-moduleA

|-group2

|-moduleB1

|-moduleB2

|-moduleB3

move modules to directory, but compile error

any one can help me? thanks!

like image 967
zhangyang Avatar asked Feb 07 '23 20:02

zhangyang


1 Answers

Same answer as the above one, but I had to use a slightly different syntax

':group1:module1'

Gradle wouldn't accept the slash-notation. (Sorry for the additional answer, I couldn't leave a comment)

like image 157
Guido Avatar answered Feb 09 '23 09:02

Guido