jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

Problems with useProguard = false #90

Closed th0br0 closed 13 years ago

th0br0 commented 13 years ago

Hey there,

first of all -- great plugin, love it! As proguard really makes the package build step slo~w, I want to disable it. However, if I set "useProguard := false", the application won't start anymore.

I tend to get errors alike "Link of class 'Lmy/application/MyApplication;' failed" normally in connection with a class "scala/ScalaObject" could not be found error.

How can I solve this issue?

Cheers,

Andreas

jberkel commented 13 years ago

this is expected - if you skip the proguard step the scala libs won't get included. there are a few ways around that, see this thread on SO: http://stackoverflow.com/questions/7941178/long-build-times-with-sbt-android-plugin/

th0br0 commented 13 years ago

Thanks a lot for the link; it'd be great if that could be added to the README or so as I didn't really find much information about disabling proguard...

jberkel commented 13 years ago

ok, will add the info