android studio配置 compileOnly、implementation、api使用 - utm_id=0
implementation:作用是编译同时打包,且当前mudule打包的aar或jar, 不能被引用当前module 的模块引用。 api:作用是编译同时打包,且当前mudule打包的aar或jar, 能被引用当前module 的模块引用。 compileOnly:作用是只编译不打包。 比如项目中要引用aarA,如果项目中 其他模块已经引用打包过了aarA,则需要使用compileOnly
AndroidStudio工程引入framework.jar 可参考:https://zhuanlan.zhihu.com/p/584165665?utm_id=0
好文推荐
评论可见,查看隐藏内容 拼多多帮助力入口