What is the advantage of aplib from a can?

I followed this question , but it does not completely answer my question.

What is the real advantage of the jcl appclib?

Possible answers:

  • It contains resources

But I can easily put resources in a jar file as well

  1. It contains already prepared Android classes.

But if I open apklib , I don't see dex or anything else related to Android. Even more I see simple sources inside.

So what is the real purpose of storing / distributing the apklib ?

+7
source share
1 answer

But I can easily put resources in a jar file as well

No, you cannot, at least not in terms of the Android resource system. The ability to create a JAR (or similar package) that contains Android resources is one of the goals of the new build system Google is currently working on.

+12
source

All Articles