i have followed instructions here creating application embedding api , have integrated cross walk library works , displays remote website url successfully. .apk file size jumped 61.8mb 21.8mb . have enable proguard rules crosswalk inside application. there way reduce size of apk?(at least google play 50mb limit)
crosswalk builds 2 types of arch: x86 , armv7. libraries each of them has weight 20m. in sum ~40m.
there 2 options decrease final build size:
- build 2 separate apk each arch , upload them google play (it's supported)
- use light version of crosswalk
for 1st option can check example on github. repository contains example of crosswalk embedding , build flavors build x86, armv7 or combined.
for 2nd option can check official information here.
some data regarding sizes of crosswalk version:
- x86: 11.1m (vs. 20.8m on crosswalk 10.39.232.0)
- arm: 9.63m (vs. 18m on crosswalk 10.39.232.0)
Comments
Post a Comment