Trouble building a release copy for android
-
They are slightly different sizes. 13,970kB for debug and 13,731kB for release. Both files have the word "debug" on their name. The release one has the word "release" on it's build folder name while the debug has "debug" in the folder name. Google play won't accept either one of them.
Literally all I'm doing to switch between debug and release builds is clicking the button in the lower left, selecting either release or debug then clicking the build button below. Is there something else I should be doing to switch modes?
-
@kgregory To me it looks like your release build isn't really a release build: release build should be much smaller than debug build. You should check the settings for the release build.
There are no limitations in the open source Qt version. There are modules only available in the commercial version, but everything else is same. -
There is I posted earlier this year similar questions on size and naming of android apk
Finally I could find the thread.The size difference between debug and release versions of an application for android is not as drastic as with linux/windows apps. At least when looking at the overall size. Probably best is to compare the part in the .apk file which is not part of Qt libs. My application had about 7 MB, but most of it are not my application. Therefore, the question is,if there are bigger Qt libs bound into it.
-
I have compare with my settings. I did not find a difference.
Also still as in the post already mentioned above (https://forum.qt.io/topic/80168/size-and-naming-of-android-apk) the outcome of a release linkage is still "android-build-debug.apk".
Probably a better option for discussing this topic is https://groups.google.com/forum/#!forum/android-qt