New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"key not found: sdk.dir" #3

Closed
pawelprazak opened this Issue Jul 25, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@pawelprazak

pawelprazak commented Jul 25, 2012

I'm trying to run simple empty project, but SBT fails with:

java.util.NoSuchElementException: key not found: sdk.dir
    at scala.collection.MapLike$class.default(MapLike.scala:224)
    at scala.collection.JavaConversions$JPropertiesWrapper.default(JavaConversions.scala:903)
    at scala.collection.MapLike$class.apply(MapLike.scala:135)
    at scala.collection.JavaConversions$JPropertiesWrapper.apply(JavaConversions.scala:903)
    at AndroidSdkPlugin$$anonfun$androidBuildSettings$40.apply(rules.scala:193)
    at AndroidSdkPlugin$$anonfun$androidBuildSettings$40.apply(rules.scala:193)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
    at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$single$1.apply(INode.scala:155)
    at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$single$1.apply(INode.scala:155)
    at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:173)
    at sbt.EvaluateSettings$INode.evaluate(INode.scala:129)
    at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:64)
    at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:73)
    at sbt.EvaluateSettings$$anon$3.run(INode.scala:69)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
[error] java.util.NoSuchElementException: key not found: sdk.dir```
@pfn

This comment has been minimized.

Show comment
Hide comment
@pfn

pfn Jul 25, 2012

Member

android update project -p .

Member

pfn commented Jul 25, 2012

android update project -p .

@pfn

This comment has been minimized.

Show comment
Hide comment
@pfn

pfn Jul 25, 2012

Member

or android create project ...

Member

pfn commented Jul 25, 2012

or android create project ...

@pfn pfn closed this May 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment