Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How do you create an Android APK expansion file for assets in the PCL of a Xamarin Forms project?

$
0
0

I have completed the iOS and Android phone and tablet versions of my app! I am now at the publishing phase. My APK file, created with Xamarin Forms, exceeds 50 meg, the Android limit for upload without expansion files. My PCL DLL alone is 76 and the APK file is 90. I am not sure if the pcl is compressed in the APK, but none the less it is quite a chunk I am sure. I am storing most of my assets in the PCL and am using them as embedded resources (images, icons, data files, etc), which works really slick. Can you point me resources on how to do this for Xamarin forms? Could I just zip up the assets folder in the PCL as an APK expansion file somehow? So far, from what I am reading (links below), I am not sure this will work, as the assets I want to use an expansion for are not part of the Android project itself, but rather the PCL.

http://developer.xamarin.com/guides/android/deployment,testing,_and_metrics/publishing_an_application/part_4-_apk_expansion_files/

as well as these:

https://github.com/mattleibow/Android.Play.ExpansionLibrary

http://developer.android.com/google/play/expansion-files.html
http://developer.android.com/tools/help/jobb.html

Help?

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>