jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

SBT inside intelliJ #92

Closed raicesg closed 13 years ago

raicesg commented 13 years ago

I finally got sbt-idea plugin to create intellij project but when i run sbt from intelliJ i get the following errors:

[info] Loading global plugins from /Users/rgoodwin/.sbt/plugins [info] Loading project definition from /Users/rgoodwin/Documents/my-android-project/project [error] Android SDK not found. You might need to set ANDROID_SDK_HOME or ANDROID_SDK_ROOT or ANDROID_HOME [error] Use 'last' for the full log. Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

I tried setting the path values inside of intellij and in .profile but nothing helps. Also, when trying to create a custom run configuration I get Andriod SDK not found. I have the android library added to /lib and all of my imports are resolving but I assuming it wants the sdk manager so how do I set this?