Android groupware, resources can not be read normally?

I have two module , app and base , where app > depends on base
I want to load a picture R.mipmap.ic_launcher

in app .

this is my code

  github  

Mar.10,2021
The reason for

is that multiple module have resources with the same name, and the resource id is changed (to be verified), so it cannot be found.
the solution is to make sure that no two resource files under all module are the same.

Menu