kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+
MIT License
3.08k stars 607 forks source link

java.lang.NoSuchFieldError: No static field ic_rapido_splash of type I in class Lcom/rapido/passenger/R$drawable; or its superclasses #406

Open Hasan-rapido opened 1 year ago

Hasan-rapido commented 1 year ago

Describe the issue Fat aar does not contain the drawables and string resources from sub module.

Steps followed: Created a library module and added as a dependency to the lib-aar.

fat aar generated successfully.

Integrated this fat aar in another app and successfully compiled the project.

Launching the app throws below exception, java.lang.NoSuchFieldError: No static field ic_app_splash of type I in class Lcom/app/passenger/R$drawable; or its superclasses

Build Environment