저는 스칼라에서 Hello World와 같은 Android 애플리케이션을 개발 중입니다.sbt-0.13 및 스칼라 2.10을 사용하는 sbt-android 0.7.1-SNAPSHOT에 대한 해결되지 않은 종속성?
나는 SBT-Android 설명서에서 the Getting Started tutorial을 따라 갔고 Scala on Android 책의 권장 사항을 적용 해 보았습니다. 하나는 처음부터 처음부터 모든 것을 수행합니다. g8 Geal/android-app
. 나는이 같은 오류에 직면하고 있습니다 그러나 두 경우 모두
: 나는 sbt-android
의 여러 버전을 시도하고 문제가 내 스칼라와 SBT 버전이 일치하지 않는 것 같다
[warn] module not found: org.scala-sbt#sbt-android;0.7.1-SNAPSHOT
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/jcarres/.ivy2/local/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== sbt-releases-repo: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== sbt-plugins-repo: tried
[warn] http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[warn] ==== maven-central: tried
[warn] http://repo1.maven.org/maven2/org/scala-sbt/sbt-android_2.10_0.13/0.7.1-SNAPSHOT/sbt-android-0.7.1-SNAPSHOT.pom
[warn] ==== scalasbt releases: tried
[warn] http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt-android/scala_2.10/sbt_0.13/0.7.1-SNAPSHOT/ivys/ivy.xml
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-sbt#sbt-android;0.7.1-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
.
http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt-android을 방문하면 스칼라 버전이 2.10
인 동안 scala_2.9.2
디렉토리 만 볼 수 있습니다. sbt의 나의 버전은 0.12
일 것 같지만 0.13
입니다.
스칼라 2.10
을 삭제하고 스칼라 2.9.2
및/또는 다운 그레이드 SBT를 0.12
으로 설치해야합니까? 해결책이 있습니까?
바로! 그것은 완벽하게 작동했습니다. 대단히 감사합니다. – user1565940