I cannot decrease the size of the APK file

Asked

Viewed 379 times

-1

I need to generate my app’s APK in Xamarin fForms, but when I mark the "SDK Assenblies" binding option to decrease the APK, I take the "Unexpected Linkassemblies Task Failure" error. By unchecking this option I can generate normally, but it gets 40 Mb.

Does anyone know the reason for this message or if that’s not what will cause my APK size to decrease?

1 answer

0

I had that problem. I decided to create a new project and "copy" its configuration and then change to "SDK Assemblies Only".

  • This is almost 1 day of work, I’ve done what you said for other similar reasons, Xamarin gives bug too... until discouraged. If nothing else goes right I’ll do it again.

  • Weird, man. Here Xamarin runs very quiet. But I don’t work with Forms, only with Android.

  • Just noting, that after you upload to Google Play, the very Google decreases the size of the apk. She makes this Assemblies Only.

  • Good to know, Diego, I’m gonna try to climb straight up to the Play Store to see. Detail, I think Zica is in my VS... I created a new project like you said, only before wasting time assembling my entire solution I already tried to generate APK right away. and I made the same mistake without adding any references at all. Unexpected "Linkassemblies" task failure Leaving the binding to "None", the application compiles. Complicated saw...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.