Your browser does not support the audio element.

android studio 处理多个module中含有相同jar包导致的冲突

转自:https://blog.csdn.net/jinpeng9001/article/details/82747944

记录一下。免得下次翻不出来

多个module中要使用到相同jar包会有冲突,可以采用如下方法:

如果想要保留module里的libs目录。可以新建一个目录libs_other ,把jar包放进该目录。然后再dependencies里添加下列语句:

provided files('libs_other/***.jar')
***.jar为你的jar包名称

posted @ 2019-12-11 15:37  shoneworn  阅读(2579)  评论(0)    收藏  举报