Closed fxthomas closed 11 years ago
Ah, I think I got it. I thought the libs
folder would be automatically used by Android, but it seems that it isn't. Sorry for that, problem solved ;)
You're right about the libs directory - ADT is supposed to use all the jars that are in there, dex them, and put them in the apk - see http://tools.android.com/recent/dealingwithdependenciesinandroidprojects. What did you have to change?
SBTEclipse didn't include the libs/ folder directly, but I thought it'd be taken care of automatically like res/ by the android plugin. Turns out I was mistaken, but it took me time to see it.
OK, I'm going to close this as an sbt bug then - thanks!
If I'm not mistaken, the Android build should use
libs/scala_library.min.jar
, right?In my case, Eclipse detects it, AndroidProguardScala generates it correctly (as far as I could tell), but the Dex compiler doesn't pick it up. I tried cleaning the project and restarting Eclipse multiple times ; sometimes (rarely) it worked, but I wasn't able to identify what I did exactly.
Any idea about what I am doing wrong?