Hi, I recently started testing out scala on android by coding an android project (https://github.com/prashanthbala/scaladroid) using the android plugin for Scala (https://github.com/jberkel/android-plugin/wiki/getting-started) The compilation and create of .dex files using android:package-debug was taking about 2-3 minutes, which was pushing down my development speed a lot.
So I tried to use, ProguardCache (https://github.com/banshee/ProguardCache) on sbt to reduce the build time. However, I am getting errors running the final android-package debug (after compile and proguard-cache-build) on sbt "trouble writing output: Too many methods: 193353; max is 65536 ...... dx: Nonzero exit value: 2" due to the 16-bit limit on the number of method names for davlik. My hunch is that either the proguard step is not treeshaking the libraries used completely or the final package-debug is not using the pruned versions of the libraries. The project still builds fine without proguardCache. Wondering if my proguard settings in ./proguard.conf are wrong or if my Build.scala settings are conflicting with the process. I've spend quite some time trying to fix this, any help would be appreciated. The files are available at https://github.com/prashanthbala/scaladroid. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en