只需在子模块的build.gradle中将
implementation fileTree(dir: 'libs', include: ['*.jar'])
改为
api fileTree(dir: 'libs', include: ['*.jar'])
就可以了
具体可以研究下implementation和api的区别
只需在子模块的build.gradle中将
implementation fileTree(dir: 'libs', include: ['*.jar'])
改为
api fileTree(dir: 'libs', include: ['*.jar'])
就可以了
具体可以研究下implementation和api的区别
本文标题:Android 使用子模块中的jar包
本文链接:https://www.haomeiwen.com/subject/ddalyctx.html
网友评论