Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

THIS TOOL IS DEPRECATED. #44

Closed
danielribeiro opened this issue May 31, 2011 · 8 comments
Closed

THIS TOOL IS DEPRECATED. #44

danielribeiro opened this issue May 31, 2011 · 8 comments

Comments

@danielribeiro
Copy link

It gives me "THIS TOOL IS DEPRECATED. See --help for more information" when using sbt start-emulator. Stats:

robospecs_example $ sbt 
[info] Building project RobospecsExample 0.1 against Scala 2.8.1
[info]    using RobospecsExample with sbt 0.7.4 and Scala 2.7.7
@jberkel
Copy link
Owner

jberkel commented May 31, 2011

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)

@jberkel jberkel closed this as completed May 31, 2011
@danielribeiro
Copy link
Author

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

@jberkel
Copy link
Owner

jberkel commented May 31, 2011

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.

@danielribeiro
Copy link
Author

It seems "this tool is deprecated" prevents the emulator from starting. If not, something else is....

@jberkel
Copy link
Owner

jberkel commented Jun 1, 2011

"prevent emulator from starting" ? the plugin doesn't start the emulator?

@danielribeiro
Copy link
Author

Sorry it wasn't focused: ... when using sbt start-emulator ...

It not only gives Deprecated tool erros, it will not start it.

@fabianpage
Copy link

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".

@danielribeiro
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants