0

I have 2 custom module and an App

Module A Module B app

In Main Project, Module B is imported as a direct project(no jar/aar).

build.gradle of Module B

dependancy{
   implementation project(":Module A")
}

build.gradle of App

dependancy{
   implementation project(":Module B")
}

So it is working fine.

But the problem is when I take a jar/aar of Module B, and I included in App, Then in runtime, I got java.lang.NoClassDefFoundError in every class that referred the Module A classes.

So how to fix this?

noobEinstien
  • 3,147
  • 4
  • 24
  • 42

0 Answers0