What is the difference between “provided files” and “compile”

江枫思渺然 提交于 2020-01-01 07:52:48

问题


In Android studio in the "module settings" in the Dependencies tab you can select a scope for your library files. What is the difference between "compile" and "provided"?


回答1:


compile includes the library in your final APK, while provided doesn't; provided is a compile-time-only dependency.



来源:https://stackoverflow.com/questions/28070047/what-is-the-difference-between-provided-files-and-compile

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