fat-aar-android icon indicating copy to clipboard operation
fat-aar-android copied to clipboard

Multiple Dimension Flavors Not supporting

Open sssvrock opened this issue 3 years ago • 3 comments

I have multiple dimension flavors, when I am trying to add dependencies I am getting following error

single flavors working fine and multiple flavors not working

Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method preprodClient1Embed() for arguments [{name=agent-sit-1.55, ext=aar}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandle

Build Environment

  • Operating System: Windows 10
  • Gradle Plugin Version: 4.2.0
  • Gradle Version: 6.7.1
  • Fat-aar Version: 1.3.6

sssvrock avatar Jun 17 '21 11:06 sssvrock

me too

king-ma1993 avatar Sep 13 '21 14:09 king-ma1993

This appears to be a core assumption in FatAarPlugin - in principle if all flavours are mentioned such that you match the variant.getFlavorName() + "Embed" then it should work, but this kind of defeats the point of flavours.

nbirkenshaw-mux avatar Nov 19 '21 17:11 nbirkenshaw-mux

Any news about this issue?

abdulazizumarovich avatar Sep 13 '22 08:09 abdulazizumarovich