I want to put a big AAR library ("crypteriumsdk") into a Dynamic Feature Module, which can be installed on-demand. But when I do that, it can't find its resources (theme):
resource style/CrypteriumTheme (aka com.crypter.cryptocyrrency:style/CrypteriumTheme) not found.
I also added tools:replace="android:theme"
to application
in main Manifest (app module).
What is wrong here?
settings.gradle
:
include ':crypteriumsdk'
include ':wallet'
include ':app'
wallet.gradle
:
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(":app")
implementation project(':crypteriumsdk') // added the library here
}