Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are libapp.so and libflutter.so?

My Flutter application bundle contains native libraries, libapp.so and libflutter.so, each around 8-9MB. How can I find what is contributing to size of those files or which dependencies they're coming from?

like image 464
Tomek ZJadzia Avatar asked Oct 23 '25 21:10

Tomek ZJadzia


2 Answers

libflutter.so (the flutter engine)

libapp.so (your code).

like image 78
zerocool Avatar answered Oct 26 '25 11:10

zerocool


Flutter is a portable UI tool kit, means everything that flutter depends upon must be included with in the APK file. So every flutter will have those mentioned .so files.

The mentioned .so files includes Dart language dependency, skia engine, flutter framework, platform related native code etc.

like image 31
Darish Avatar answered Oct 26 '25 10:10

Darish