3

What influences APK size?

I have simple Angular 2 app using typescript, which compiles to 2mb of javascript total.

The app has 387MB in size.

I noticed that in /platforms/android/build is 587MB, inside I have dirs: intermediates 453MB outputs 109MB generated 0.5MB tmp 24kb

What am I doing wrong?

PS. I am using Crosswalk, but it should add 20MB, not 350MB in size.

Teddy
  • 2,277
  • 3
  • 15
  • 19

1 Answers1

0

APK is just zip archive, you could open it and check content.

kemsky
  • 14,727
  • 3
  • 32
  • 51
  • I did that, I have 569MB in /assets/www/resouces/platforms/android/build/, in there I have 3 directories: generated-96kb, intermediates, 454mb, outputs 114mb. Did I forgot to put some "production" switch on? – Teddy Jun 08 '16 at 11:14
  • You should check intermediates and outputs, which files are there? – kemsky Jun 08 '16 at 11:20