无法将库模块依赖项添加到动态功能模块中

问题描述 投票:0回答:1

我有一个库模块和一个动态功能模块。我需要功能模块依赖于库模块,但是这样做会出错:

Unable to resolve dependency for ':my-dynamic-feature@debug/compileClasspath': Could not resolve project :my-library-module.

我正在尝试像这样添加依赖项:api project(":my-library-module")

任何想法导致此错误的原因?TIA

android dependencies android-instant-apps dynamic-feature-module
1个回答
0
投票

我也只需要在动态功能模块中定义构建风格。可行。

© www.soinside.com 2019 - 2024. All rights reserved.