Exclude libmono-profiler-log.so from Release APK

AndrewNemtsevAndrewNemtsev USMember ✭✭
edited December 2015 in Xamarin.Android

I have created release APK for 3 ABIs (armeabi, armeabi-v7a and x86).
lib folder for each ABI contains libmono-profiler-log.so (~550kb).
So total size of APK now grows at least for ~1.5Mb.

"Enable developer instrumentation (debugging and profiling)" is disabled, active Build config is Release.

Is it any way to exclude libmono-profiler-log.so from Release APK?


Xamarin Studio
Version 5.10.1 (build 6)
Installation UUID: 98271cc1-03e0-4f37-8c06-ac3c4d6afefe
Microsoft .NET 4.0.30319.18444
GTK+ 2.24.23 (MS-Windows theme)
GTK# 2.12.30

Location: C:\Program Files (x86)\Xamarin\Profiler\XamarinProfiler.exe

Version: 6.0.0 (Business Edition)
Android SDK: *
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)

SDK Tools Version: 24.4.1

SDK Platform Tools Version: 23.0.1

SDK Build Tools Version: 23.0.1

Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode)

Xamarin Android Player
Version: 0.5.6
Location: C:\Program Files\Xamarin Android Player\DeviceManager.exe

Build Information
Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 19:20:22-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-windows-cycle6-baseline

Operating System
Windows 6.1.7601.65536 (64-bit)



  • AndrewNemtsevAndrewNemtsev USMember ✭✭

    One more additioin.

    Comparing to old one APK here is two uncompressed files added in current APK:
    typemap.jm (~470Kb)
    typemap.mj (~540Kb)

    Our APK become greater than 20Mb

Sign In or Register to comment.