Ok, I've pointed to sbt-launch.jar in preferences of SBT plugin to the installed 0.13.6. Now SBT console works. Where is the default for SBT in IntelliJ??
So, SBT console works, and I can run android:packageDebug and android:run. I have next trouble. "Edit configuration" tells me that my activity in Scala is not an Activity subclass or alias. On 11/5/14, Vyacheslav Blinov <[email protected]> wrote: > What sbt version are you running? Try to run it with sbt 0.13.5 > >> On 05 Nov 2014, at 11:56, Igor Tseglevskiy <[email protected]> >> wrote: >> >> I've experimented a little. In pure SBT project the SBT console works >> fine. But inside the Android project - doesn't. >> >> java -Dsbt.log.noformat=true >> -Djline.terminal=jline.UnsupportedTerminal -Xmx512M >> -XX:MaxPermSize=256M -jar >> /Users/tsypa/Library/Caches/IdeaIC13/sbt/sbt-launch.jar >> >> [info] Loading project definition from /Users/tsypa/scala/SCT8/project >> [error] java.lang.NoClassDefFoundError: sbt/Plugins >> [error] Use 'last' for the full log. >> Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? >> >> In the project directory I have: >> >> maaaacy:project $ cat plugins.sbt >> addSbtPlugin("com.hanhuy.sbt" % "android-sdk-plugin" % "1.3.6") >> >> maaaacy:project $ cat build.scala >> object Build extends android.AutoBuild >> maaaacy:project $ >> >> Any ideas? >> >> On 11/5/14, Igor Tseglevskiy <[email protected]> wrote: >>> SBT works from command line, but doesn't from inside the IDE. There is >>> the same message when I write any command in SBT console and when I >>> add SBT task to the Run configuration. >>> >>> What's wrong? >>> >>> [info] Resolving org.fusesource.jansi#jansi;1.4 ... >>> [info] Done updating. >>> [error] java.lang.NoClassDefFoundError: sbt/Plugins >>> [error] Use 'last' for the full log. >>> Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? >>> >>> On 11/4/14, Nick Stanchenko <[email protected]> wrote: >>>> Hi, >>>> >>>> The trick is to let IDEA build with sbt. I have a small guide >>>> here: http://macroid.github.io/ScalaOnAndroid.html >>>> >>>> Nick >>>> >>>> On Tuesday, November 4, 2014 10:18:35 AM UTC, Igor Tseglevskiy wrote: >>>>> >>>>> Folks, hello! >>>>> >>>>> I'm developing for Android a few years, but I'm newbie in Scala. I'd >>>>> like >>>>> >>>>> to use Scala in Android projects. >>>>> >>>>> I discovered two methods how to use Scala classes in Android projects. >>>>> First - with IDE, but without SBT - >>>>> http://stackoverflow.com/questions/23696560/android-scala-intellij-13 >>>>> Second - with SBT, but without IDE - >>>>> https://github.com/pfn/android-sdk-plugin >>>>> >>>>> I like the android-sdk-plugin, but I can not integrate it to IntelliJ. >>>>> I >>>>> tried to use plugin sbt-idea, but the IntelliJ can not build modified >>>>> project. It's possible that I do something wrong. >>>>> >>>>> Is there tested fresh howto about android-sdk-plugin and IntelliJ 13? >>>>> >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "scala-on-android" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/scala-on-android/QUAbfunp_P0/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "scala-on-android" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. > > Regards, > Vyacheslav Blinov > https://github.com/dant3 > > -- > You received this message because you are subscribed to a topic in the > Google Groups "scala-on-android" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/scala-on-android/QUAbfunp_P0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
