What is the difference between "provided files" and "compile"
11,327
compile
includes the library in your final APK, while provided
doesn't; provided
is a compile-time-only dependency.
Related videos on Youtube
Author by
qryckbosch
Updated on June 15, 2022Comments
-
qryckbosch about 2 years
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"?
-
Siddharth about 8 yearsI have compile and still the jar is not included in the apk.
-
Siddharth about 8 yearswhy are the names screwed up ? compile is suppose to behave like compile and provide like its being provided to the apk right ?
-
Qian Zhang almost 7 yearsIf the final apk does not include the reference package will cause the error?