error screen while building superadmin
Hello guys, I wanted to make an android app of admin separate from user app so I decided to make a module for it .SuperAdmin is an application module.I want to make it for only admin and this error is showing while building..... This error is only showing when I am using something from default App module i.e User app .
Is there necessary to make a library between them to communicate with each other?
Better way to solve this is by using build variants and product flavors . Read about this here. You will doing something like this below in
build.gradleIn code , you can do conditional logics something like below.
In build variants you will be having
userDebug,userRelease,adminDebugandadminReleasefor two different flavours.