Sorry, still pretty new to this and definitely have a lot to learn. I got it working and I think I know what went wrong. I thought I had set the ANDROID_HOME variable, but apparently I didn't because sbt barked at me about it not being set. I reset the variable, reran the app, and it worked like a charm.
On Thursday, March 24, 2016 at 7:56:34 PM UTC-5, pfn wrote: > > The error is before the stack trace. please provide it. > > On Thu, Mar 24, 2016 at 5:53 PM Ryan Murphy <rymur...@gmail.com > <javascript:>> wrote: > >> Hello, >> >> My name is Ryan. This is my first post here and I thought I would enlist >> some help. I am attempting to setup my environment for writing Android apps >> using Scala and I am running into some trouble. I have been using the >> following tutorial for setting things up: >> http://macroid.github.io/ScalaOnAndroid.html. From that tutorial I am >> using the android-sbt plugin at https://github.com/pfn/android-sdk-plugin >> and using Intellij IDEA as my IDE. After completing most of the steps in >> the tutorial I am attempting to run the example code provided. It compiles >> ok in sbt, but when I do an android:run I produce the following error >> message: com.android.ide.common.process.ProcessException: error code: 1 >> at >> android.SbtJavaProcessExecutor$$anon$3.assertNormalExitValue(rules.scala:938) >> at >> android.SbtJavaProcessExecutor$$anon$3.assertNormalExitValue(rules.scala:936) >> at >> com.android.builder.core.AndroidBuilder.convertByteCode(AndroidBuilder.java:1344) >> at android.Dex$$anonfun$singleDex$1.apply(proguard.scala:358) >> at android.Dex$$anonfun$singleDex$1.apply(proguard.scala:330) >> at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:235) >> at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:235) >> at >> sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:249) >> at >> sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:245) >> at sbt.Difference.apply(Tracked.scala:224) >> at sbt.Difference.apply(Tracked.scala:206) >> at >> sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:245) >> at >> sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:244) >> at sbt.Difference.apply(Tracked.scala:224) >> at sbt.Difference.apply(Tracked.scala:200) >> at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:244) >> at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:242) >> at android.Dex$.singleDex(proguard.scala:363) >> at android.Dex$.dex(proguard.scala:236) >> at android.Tasks$$anonfun$74.apply(tasks.scala:1012) >> at android.Tasks$$anonfun$74.apply(tasks.scala:1009) >> at scala.Function10$$anonfun$tupled$1.apply(Function10.scala:35) >> at scala.Function10$$anonfun$tupled$1.apply(Function10.scala:34) >> at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) >> at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) >> at sbt.std.Transform$$anon$4.work(System.scala:63) >> at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) >> at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) >> at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) >> at sbt.Execute.work(Execute.scala:237) >> at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) >> at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) >> at >> sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) >> at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> [error] (android:dex) com.android.ide.common.process.ProcessException: >> error code: 1 >> >> I'm using sbt version 0.13.11 and Scala version 2.11.6. Let me know what >> other info you need. >> >> Thanks! >> >> Ryan Murphy >> >> -- >> 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 scala-on-andro...@googlegroups.com <javascript:>. >> 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 scala-on-android+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.