What is the difference between “provided files” an

2019-04-03 05:32发布

问题:

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.