4 ms·
Cool! Do you know if this ads much/anything to the apk runtime size? The documentation seems a little bit scarce at the moment. I need to get around to doing
by davidw 17y ago
Cool! Do you know if this ads much/anything to the apk runtime size? The documentation seems a little bit scarce at the moment.
I need to get around to doing up Hecl for Android 'nicely'.
- andrew1 17y agoIT includes a proguard.jar file which I assume is used to remove unnecessary classes from your final application. I managed to get Scala working with Android a while ago by following online guides (a lot more hassle than this looks to be!) and I used proguard for this purpose.
- stefanrusek 17y agoIt took me forever to get it working for another app, and after I got it working, I decided to start this project, which makes things a lot easier since it just works.
- biafra 17y agoI did a hello-world in Scala for Android (without this toolkit) shrinking it with proguard and the apk increased by 800kbyte. Installing on a real device or the emulator is noticeable slower.
- andrew1 17y agoYou should be able to get the final size to less than 100kb, I can't remember exactly what I ended up with using Proguard but I think it was 30-40kb. It should manage to remove virtually all the Scala library code as hardly any of it would be used.
- stefanrusek 17y agoI used it to create a hello world app that clocks in at 18K.
- stefanrusek 17y agoI added a little more info to the AFS home page.