Questions tagged [sbt-android]

An SBT (Simple Build Tool) plugin for Android development in Scala

7 questions
4
votes
1 answer

scala-android plugin

I'm having problems running the scala-android plugin when running sbt from inside IntelliJ. When I run sbt for the same project from Mac terminal I get no errors: ~/Documents/my-android-project $ sbt [info] Loading global plugins from…
Ray Goodwin
  • 183
  • 1
  • 3
  • 9
1
vote
0 answers

How can I make an SBT build for multi-projects and multi-platforms?

I'm starting on a medium project with many independent components that can run either on Android or the JVM and I'm wondering how to break it into SBT projects so that the dependencies behave nicely. Here's what I've got so far: core/ for platform…
teryret
  • 577
  • 1
  • 5
  • 15
0
votes
1 answer

sbt-android: unable to use scala-reflect on android: java.rmi.Remote not found

I'm trying to use the scala-reflect package for android development. I have added the scala-reflect dependency in my build.sbt: libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.11.8" but I get an…
0
votes
0 answers

sbt-android simple example fails with " [error] No activity found with action 'android.intent.action.MAIN'"

Any idea how to fix this ? with master branch: > android:test [warn] [UnusedAttribute] src/main/AndroidManifest.xml:13:Attribute installLocation is only used in API level 8 and higher (current min is 7) [warn] …
jhegedus
  • 20,244
  • 16
  • 99
  • 167
0
votes
1 answer

How to use sbt-android to build scala android projects with RenderScript files?

It seems that sbt-android is ignoring the presence of the RenderScript files and is not generating the ScriptC_xxx java classes that are normally generated by gradle builds/Android Studio [UPDATE: this is false, se the update note below]. Because of…
0
votes
1 answer

sbt android won't run android:package on example project multiproject-same-dependencies because of libraryProject errors

I have checked out the sbt-android project source at commit de0b517 and then tried to run the android:package task in the example project multiproject-same-dependencies. I get these errors: [error] (b/android:apkbuild) This project cannot build APK,…
rmin
  • 1,018
  • 1
  • 9
  • 18
0
votes
1 answer

sbt-android gives "IllegalArgumentException already added..." running android:package for multi-project build

I have an sbt root project with an actionbarsherlock subproject which I can't package into an apk. I am able to build both projects successfully, but when I run android:package I get errors from the root/android:dex task where classes from…
rmin
  • 1,018
  • 1
  • 9
  • 18