On OSX, I would set ANDROID_HOME via launchd
On Mon, May 5, 2014 at 10:20 AM, Justin <[email protected]> wrote: > Ran android update project. Now everything works perfectly. > > > On Monday, May 5, 2014 1:00:11 PM UTC-4, Justin wrote: >> >> I see the error now. Thanks Perry. >> >> info] Loading project definition from /Users/justin/projects/hello- >> scaloid-sbt/project >> java.lang.RuntimeException: set ANDROID_HOME or run 'android update >> project -p /Users/justin/projects/hello-scaloid-sbt' >> at scala.sys.package$.error(package.scala:27) >> at android.Plugin$$anonfun$allPluginSettings$63$$anonfun$ >> apply$27.apply(rules.scala:337) >> at android.Plugin$$anonfun$allPluginSettings$63$$anonfun$ >> apply$27.apply(rules.scala:337) >> at scala.Option.getOrElse(Option.scala:120) >> at android.Plugin$$anonfun$allPluginSettings$63.apply(rules.scala:336) >> at android.Plugin$$anonfun$allPluginSettings$63.apply(rules.scala:328) >> at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:54) >> at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:53) >> at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) >> at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175) >> at sbt.EvaluateSettings$INode.evaluate(INode.scala:134) >> at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$ >> submitEvaluate$1.apply$mcV$sp(INode.scala:66) >> at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:75) >> at sbt.EvaluateSettings$$anon$3.run(INode.scala:71) >> at java.util.concurrent.ThreadPoolExecutor.runWorker( >> ThreadPoolExecutor.java:1145) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run( >> ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:744) >> [error] set ANDROID_HOME or run 'android update project -p >> /Users/justin/projects/hello-scaloid-sbt' >> [error] Use 'last' for the full log. >> Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? >> >> On Monday, May 5, 2014 10:47:26 AM UTC-4, pfn wrote: >>> >>> Look at the SBT console window in IntelliJ >>> >>> >>> On Mon, May 5, 2014 at 7:46 AM, Justin James <[email protected]>wrote: >>> >>>> When I try to run the application in Intellij a "Executing SBT Action" >>>> background task is created and hangs without terminating. >>>> >>>> On Monday, May 5, 2014 12:01:28 AM UTC-4, pfn wrote: >>>>> >>>>> That is the correct way. What is "to no avail" >>>>> >>>>> What you describe works perfectly fine for both run and debug. Test >>>>> debug is a little different. >>>>> >>>>> -- >>>>> Sent from my phone >>>>> On May 4, 2014 8:05 PM, "Justin James" <[email protected]> wrote: >>>>> >>>>>> I have a Scaloid + Android-SDK-Plugin project that builds and runs >>>>>> successfully from the terminal, but fails to build in Intellij. I >>>>>> created a >>>>>> new Android Application run configuration (removed make and added sbt >>>>>> android:package to before launch) but to no avail. Is there another way >>>>>> to >>>>>> debug this App? >>>>>> >>>>>> -- >>>>>> 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. >>>>>> >>>>> -- >>>> 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. >>>> >>> >>> -- > 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. > -- 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.
