Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

large apk size with xamarin C9 #259

Closed
rocuh opened this issue Mar 7, 2017 · 3 comments
Closed

large apk size with xamarin C9 #259

rocuh opened this issue Mar 7, 2017 · 3 comments

Comments

@rocuh
Copy link

rocuh commented Mar 7, 2017

This might purely be a C9 related issue, or it might be some interaction with how skiasharp is built. But the APK size is much larger with C9 with skiasharp than it was with C8. Looking at the APK the skiasharp assembly DLL is 9mb which i assume includes the embedded native library,. So is the native part is included in the APK twice?

@mattleibow
Copy link
Contributor

mattleibow commented Mar 8, 2017

This is interesting since the SkiaSharp.dll should be less that 100KB in the APK...
This might be an issue with the build not removing the native libs.

Is it possible to send me your APK? And what are you using VS on Windows or XS on macOS? Is this a Debug/Release build?

@rocuh
Copy link
Author

rocuh commented Mar 8, 2017

com.david.skiaapktest.apk.zip

Attached an example apk, but its basically just a build of the XF template project with skiasharp added from the latest stable build of xamarin studio.

@mattleibow
Copy link
Contributor

Thanks for reporting this issue. I am closing this as this in not directly related to the SkiaSharp project.

I have opened an issue with the Android team: https://bugzilla.xamarin.com/show_bug.cgi?id=53250

At this time, I am unaware of a workaround, so rolling back to the latest C8 release appears to be the only option. However, hopefully that team can help with a workaround, or at least a solution very soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants