Forums

OverviewFelgo 2 Support (Qt 5) › apk size

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19449

    Felgo User

    Hello, all.

    What minimum apk size?

    #19450

    Günther
    Felgo Team

    Hi

    Felgo and Qt package all libraries that *might* be needed as a dependency at runtime. If you’re sure that some modules are not required at all by your app, you can overwrite the included files with the ANDROID_DEPLOYMENT_DEPENDENCIES variable, as described here: http://doc.qt.io/qt-5/deployment-android.html#android-specific-qmake-variables and save some MBs in file size. There also come quite some examples up when googling for that variable.

    In case the APK size is a major issue for you and you can’t manage to accomplish it on your own:
    We offer to build a stripped-down version of the Felgo library to remove modules you might not need. This can also save a few MB depending on your use-case. We can create such custom builds with the purchase of a support package or the included support of the Felgo Enterprise plan.

    Best,
    Günther

    #19451

    Felgo User

    Primitive app “Hello World” – what size will be?

    #19457

    Günther
    Felgo Team
    #19503

    Felgo User

    Thanks!

    #19519

    Edward

    This is something I’ve often considered,

     

    Is there a way to estimate my apk size before building?

     

    Thanks!

    #19526

    Günther
    Felgo Team

    Hi,

    an estimation beforehand is really hard as many factors affect the APK size. For example, last years Qt World Summit app in Google Play is listed with 38 MB.It includes assets (images, …) that take up roughly 12 MB (uncompressed). Without any assets your app will probably use between 20 and 30 MB, depending on

    • the linked Qt Modules (as said above, a few MB can be saved by removing ones you do not require, this is possible with custom Felgo builds for Enterprise Customers)
    • linked 3rd party Frameworks, e.g. of the Felgo Plugins your app is using, or for custom features (like the QZXing Barcode Scanning library used in the Qt  World Summit demo)
    • amount/size of your source code (usually the smallest factor).

    Best,
    Günther

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support