Android Question Do Unused But Included Libs Still Get Compiled?

Shadow&Max

Active Member
Licensed User
Longtime User
If you have several libs checked, and your app doesn't use one or two of them are they still compiled into the final apk?

For example, you have the Camera lib checked, and your app doesn't use the camera, is the camera lib still compiled into the finished apk?
 

LucaMs

Expert
Licensed User
Longtime User
If you have several libs checked, and your app doesn't use one or two of them are they still compiled into the final apk?

For example, you have the Camera lib checked, and your app doesn't use the camera, is the camera lib still compiled into the finished apk?


I suppose that it is so.

However, it is easy to verify: compare the size of the apk.


P.S. verified: yes, they are included
 
Last edited:
Upvote 0
Top