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.