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

前端 未结 1 1053
既然无缘
既然无缘 2021-02-18 13:03

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条回答
  •  有刺的猬
    2021-02-18 13:27

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

    0 讨论(0)
提交回复
热议问题