jberkel/android-plugin — Issue #102: "Unsupported version number [51.0] for class format". How to change target bytecode version?
Author: DaveGit
Created: 2011-12-12 01:41:09+00:00
State: open

When I execute android:package-debug I get "Unsupported version number [51.0] for class format"
How can I change this?

> android:package-debug
[info] Wrote C:\Users\Dave\android-test\target\src_managed\main\scala\androidtes
t\TR.scala
ProGuard, version 4.6
ProGuard is released under the GNU General Public License. You therefore
must ensure that programs that link to it (scala, ...)
carry the GNU General Public License as well. Alternatively, you can
apply for an exception with the author of ProGuard.
Reading program directory [C:\Users\Dave\android-test\target\scala-2.9.1\classes
]
[error] {file:/C:/Users/Dave/android-test/}Android Test/android:proguard: java.i
o.IOException: Can't read [C:\Users\Dave\android-test\target\scala-2.9.1\classes
] (Can't process class [androidtest/R$attr.class] (Unsupported version number [5
1.0] for class format))
[error] Total time: 3 s, completed 12-dec-2011 2:32:08