问题
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