Nov 27, 2012

ClassNotFoundException on sbt-android-plugin

I tried to create a brand-new scala project for android, but I found it cannot be started by ClassNotFoundException which means MainActivity was not found. Again, it is caused by Proguard and it seems skeleton program created by
g8 jberkel/android-app
uses proguard by default. To cut proguard, you just comment out
"proguardSetting ++"
line in project/Build.scala file. Setting "false" to proguardSettings seems not working, so just comment it out.

No comments: