Closed danielribeiro closed 13 years ago
the version in master fixed this already. 0.5.2 should be released soon (in the meantime do a checkout and sbt update publish-local
)
Well, did not really work:
[warn] Credentials file /home/daniel/.ivy2/.credentials does not exist
[info] Building project sbt-android-plugin 0.5.2-SNAPSHOT against Scala 2.7.7
[info] using AndroidPlugin with sbt 0.7.4 and Scala 2.7.7
[info]
[info] == compile ==
[info] Source analysis: 11 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] /home/daniel/IdeaProjects/andtest/andj/android-plugin/src/main/scala/BaseAndroidProject.scala:1: not found: value proguard
[error] import proguard.{Configuration=>ProGuardConfiguration, ProGuard, ConfigurationParser}
(....)
Guess I'll try to use it on eclipse for the time being: http://www.assembla.com/wiki/show/scala-ide/Developing_for_Android
you need to run sbt update
first.
also the line "THIS TOOL IS DEPRECATED." is just a warning, not an error - you can ignore it.
It seems "this tool is deprecated" prevents the emulator from starting. If not, something else is....
"prevent emulator from starting" ? the plugin doesn't start the emulator?
Sorry it wasn't focused: ... when using sbt start-emulator ...
It not only gives Deprecated tool erros, it will not start it.
the command "sbt start-emulator" starts your app in an already running android emulator. So you have first to start the emulator and then "sbt start-emulator".
I'll test it again. For the time being, a minor tweek on HelloScalaOnAndroid project + Ant (even though I really prefer SBT) did the magic for me. I'll probably write a small article summing up the whole adventure of gettign scala + android work, along with both Eclipe and IDEA support.
It gives me "THIS TOOL IS DEPRECATED. See --help for more information" when using sbt start-emulator. Stats: