Questions tagged [sbt-android-plugin]

sbt plugin for Android development in Scala

sbt plugin for Android development in Scala. Plugin site is at https://github.com/jberkel/android-plugin

33 questions
10
votes
1 answer

How can I run Android tests with sbt?

I developed for my application a small suite of Android tests written in Scala that uses the Robotium library. The suite is for all intents and purposes a standard Android JUnit test project and runs successfully if launched from Eclipse. I've…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
10
votes
2 answers

Unresolved dependency on sbt-android-plugin 0.6.0-SNAPSHOT?

I just followed the steps at Build Scala Android apps using Scala and when I ran sbt inside the project folder I got the following unresolved dependency error: [info] Loading project definition from…
Macarse
  • 91,829
  • 44
  • 175
  • 230
9
votes
2 answers

Long build times with sbt android-plugin

I have created a demo application with the sbt android-plugin. The app is very simple. I have placed a MainActivity.java file under /src/main/java/my/package/ and when a button is pressed it takes you to a second Activity but done in…
Macarse
  • 91,829
  • 44
  • 175
  • 230
9
votes
5 answers

Is there a way to merge two or more .dex files into one .dex file using Scala?

I am doing some hacking on Jan Berkel's SBT Android Plugin and I was wandering if there is a way to merge multiple .dex files into one .dex file that will contain all of them. For example, if I have this: classes1.dex classes2.dex classes3.dex Is…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
6
votes
5 answers

Error when running sbt install-emulator

I am following the video on this page http://zegoggl.es/2009/12/building-android-apps-in-scala-with-sbt.html which use SBT to create an Android project. However I get to the point of trying to install the emulator using sbt install-emulator And I…
Michael Edwards
  • 6,308
  • 6
  • 44
  • 75
5
votes
2 answers

Remote akka actors on android?

Im trying to make a simple remote connection to a actor using akka as I normally do but Im sure there something else I need to do when using akka from android can anyone help? import akka.actor.Actor.remote // Establish Connection to Remote Actor …
Ray Goodwin
  • 183
  • 1
  • 3
  • 9
4
votes
1 answer

Error running 'sbt start-device'

I'm trying to get set-up with sbt and the sbt android-plugin on Mac OS 10.6.6. I installed all of the files and am able to launch the Android SDK manager from the command line. The android-plugin will create an sbt project. However, when I try to…
philosodad
  • 1,808
  • 14
  • 24
4
votes
1 answer

How to add more similar tasks and settings to Jan Berkel's Android Plugin in SBT?

I'm trying to extend Jan Berkel's Android Plugin for Scala that uses SBT. I have similar actions and settings like already defined android:install-device and android:install-emulator. Let them be called android:dev-install-device and…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
3
votes
2 answers

sbt: object app is not a member of package

I successfully built the Scala-only project template from the sbt android plugin. Next, I tried to add some Java sources to my project and got the following error in TR.scala. TR.scala is a file generated from the Java sources. [info] Compiling 2…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
2
votes
1 answer

How can I update sbt android-plugin's ProGuard version?

I updated my Android SDK's ProGuard from 4.4 to 4.6, but the sbt android-plugin somehow has its own version. How can I update sbt android-plugin's version?
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
2
votes
0 answers

which players are used in vine app to play videos in android

I would like to play videos to play videos in my android app like vine app. I have all the urls of videos like " http://swytchboard.s3.amazonaws.com/Videos/102_1378616771.mp4 ". How to play these videos efficiently. Thanks to all in advance, Have a…
Ramesh J
  • 794
  • 2
  • 11
  • 24
2
votes
1 answer

Sbt LibGdx: Build chain hangs in packaging step

I created a project using the g8 template ajhager/libgdx-sbt-project and want to run it in the android emulator. I had to change sbt version to 0.12.2 for the repository only has sbt-android-plugin for this sbt version, but I didn't change any other…
Heinzi
  • 5,793
  • 4
  • 40
  • 69
2
votes
1 answer

Yet another "Unable to instantiate activity ComponentInfo" with Scala

I'm trying to create and test a simple dummy Android application written in Scala without the ProGuard step (useProguard := false). I have pushed scala library to the /system/framework: /system/framework/scala-library-2.9.1.jar and a permissions…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
2
votes
1 answer

How to download user-provided Scala version using SBT?

I am trying to write a new class while extending Jan Berkel's Android Plugin using which I would like to provide a functionality of pushing entire scala library to rooted phones. So far, I have the code that uses local versions of Scala you have…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
2
votes
1 answer

How to change Scala version in SBT/Android Plugin/Project?

I'm using SBT v0.13 with jberkel/android-plugin, which I am trying to modify. In order to do that, I need to work with Scala 2.10.0-20120710-144914-026a70d555 in my test project. So far, I've used Scala 2.9.1, and I need to switch to…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
1
2 3