Exclude jar-library from aar

五迷三道 提交于 2019-11-28 11:39:59

You can simply move the library file from dir yourmodule/libs to dir yourmoudle/ and modify " provided files('libs/yourlibrary.jar') " to "provided files('yourlibrary.jar')" in dependency.

then clean the project and rebuild.

Try compileOnly keyword to mark the resource is used for compile only.

Check answer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!