Different sizes for deployed .apk files

Could someone enlighten me on what might be happening when I deploy a package? I would like to invite a few testers to test my App but I'm having some issues.

Whenever I upload my App to a phone, which is connected to my PC, all is fine, i.e. the App works as expected. The size of the .APK, whenever I look at the size of the App on the phone, is 8.36 MB.

I've got several referenced DLLs that my App uses, for example:






This is what I've done so far:

1) Following instructions from this Xamarin page on how to package up an Android App:


2) I've gone into the Project Options window -> Android Build and made sure that I use the "Link all assemblies" option. (See enclosed files for my current setup - I've also tried the other options but same problem)

3) Choose Project -> Publish Android Application...

One of the first things I notice is that the published .apk file is a lot smaller, i.e. 5.3 MB.

4) Install the new .apk file onto a mobile device.

The App runs OK, but fails to call an object "var httpClient = new HttpClient()"


i) Because the finished .apk file is a lot smaller, could it be that the "publish" option is not linking ALL the necessary DLLs?

ii) Any other ideas of what might be going on?

Sign In or Register to comment.