이 페이지의 비디오를 따르고 있습니다. http://zegoggl.es/2009/12/building-android-apps-in-scala-with-sbt.html SBT를 사용하여 Android 프로젝트를 만듭니다. 그러나 나는sbt install-emulator를 실행할 때 오류가 발생했습니다.
sbt install-emulator
를 사용하여 에뮬레이터를 설치하려고의 지점에 도착 그리고 다음과 같은 오류 얻을 :
[info] Nothing to compile.
[info] Post-analysis: 1 classes.
[info] == tests/compile ==
[info]
[info] == awesomepad/proguard ==
ProGuard, version 4.4
ProGuard is released under the GNU General Public License. The authors of all
programs or plugins that link to it (sbt, ...) therefore
must ensure that these programs carry the GNU General Public License as well.
Reading program directory [C:\Projects\Scala\sbt2test\awesomepad\target\scala_2.
9.1\classes]
java.io.IOException: Can't read [[email protected]] (Can't proces
s class [com/kickass/awesomepad/R$attr.class] (Unsupported version number [51.0]
for class format))
at proguard.InputReader.readInput(InputReader.java:230)
at proguard.InputReader.readInput(InputReader.java:200)
at proguard.InputReader.readInput(InputReader.java:178)
at proguard.InputReader.execute(InputReader.java:78)
at proguard.ProGuard.readInput(ProGuard.java:195)
당신이 문제를 해결하기 위해 관리나요 :
이 문제
는 Build.scala에 javac의 호환성 줄을 추가하여 고정? 나는 같은 문제에 직면 해 있으며 어떻게했는지 알고 싶습니다. – Salil