Size of apk with and without drawing procedure

jschuchert

Active Member
Licensed User
Longtime User
I have 2 versions of my application, one with and one without a simple drawing routine. I was shocked to find the difference in size. Both were compiled without debugging info. The one without was only about 266 KB. The one with was a whopping 2.5 MB. There is no other difference other than the drawing. Why would there be that much difference? Maybe another library was added?

Jim
 

jschuchert

Active Member
Licensed User
Longtime User
Thank you very much. Unwittingly I had placed all of my backup zip files in the "FILES" folder so when I compiled, it was picking them up. I had no idea they would be part of the apk. After removing those files, the compiled apk is much smaller. This forum is outstanding.

Incidentally, for the version the user gets, should it be compiled with the debug information included? Would that be of any benefit to the user in reporting bugs?
I think I mentioned this before but the email notification is working again. I did not have to submit a new email address.

Jim
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
should it be compiled with the debug information included? Would that be of any benefit to the user in reporting bugs?
It will make the apk larger but will show the user the line number and source code as well as the Sub if an uncaught exception occurs in your app. It will also expose the source code of your app to anyone who can poke around inside the bytecode but that may not bother you.
 
Upvote 0

jschuchert

Active Member
Licensed User
Longtime User
Thank you again. I am very grateful for the prompt replies you and others provide. I will include the debug information. It will help me to know where the problem lies.

Jim
 
Upvote 0
Top