Reg. the size of Android app in delphi

£可爱£侵袭症+ 提交于 2019-12-02 01:37:55

问题


When i'm generating android application through Delphi Xe7, the App_Name.Apk file 6 MB and when i'm installing in the mobile, the application size is 25 MB. Please provide me the information that there are any other settings to reduce the size of the application size. And in the code i'm having only single form, 6 class declaration. Also i'm using the Release settings which is in the Options (Shift+ctrl+F11).


回答1:


Delphi XE7 is a cross platform development tool. The power is in it's cross platform nature. It provides a framework called Firemonkey that works on all four platforms (Android, IOS, OSX, Windows). The Firemonkey run time library weighs in at between 6MB and 10MB depending on the platform and the units you use. If you are using the graphical controls of Firemonkey you will have that size footprint.

Similar cross platform frameworks like Adobe AIR, QT, and others have a similar size footprint. However, you can add thousands of lines of code and hundreds of controls and the size will still be about the same.

It is possible to make a bare bones Android app without using Firemonkey in either C++ or Object Pascal but you lose access to all of the Firemonkey controls.



来源:https://stackoverflow.com/questions/26814660/reg-the-size-of-android-app-in-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!