【发布时间】:2020-08-12 04:05:17
【问题描述】:
我想将一个大的 AAR 库(“crypteriumsdk”)放入一个可以按需安装的动态功能模块中。但是当我这样做时,它找不到它的资源(主题):
资源样式/CrypteriumTheme(又名 com.crypter.cryptocyrrency:style/CrypteriumTheme) 未找到。
我还在主清单(应用程序模块)中将tools:replace="android:theme" 添加到application。
这里有什么问题?
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
}
【问题讨论】:
标签: android android-app-bundle dynamic-feature-module