且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Gradle将应用程序模块依赖项添加到Android Studio中的另一个应用程序模块中

更新时间:2023-11-22 17:27:34

是否可能有2个应用程序模块(在gradle文件的开头带有Apply插件:"com.android.application"),并且其中一个模块依赖于另一个模块?

Is it possible to have 2 applications modules (with apply plugin: 'com.android.application' at the head of their gradle file) and one having a dependency over another?

不,抱歉.

我们不能在两个(或更多)应用程序模块之间添加依赖关系吗?

Can't we add dependency between two (or more) applications modules?

正确-不支持.