In Android, packing just the minimum necessary classes is of great importance for two main reasons:
The Dalvik Virtual Machine establishes a maximum of 64 thousand Java methods for each indexed file. Since the final application package is composed of a big index of all the classes and resources, each dependency adds to this count.
The final application size. For very simple applications, it may cause concern for users if they see that the application occupies a lot more space than they expected for no apparent reason.
As explained in the External utilities used by GeneXus generated Smart Devices applications document, it is possible to split the dependencies into necessary and optional dependencies.
Note: In Android projects, external dependencies could be either AAR libraries, Project libraries, or JAR libraries.
||Eclipse Public License 1.0
||JDBC driver for SQLite databases
|YouTube Player API
||Apache License 2.0
||Incorporate video playback functionality into your Android applications