Closed krisc closed 10 years ago
Oh hmm, it's not just '0.2.0-preview4'. I'm getting the same error with a project created with '0.2.0-beta3'
Ok this is strange, but this has nothing to do with the latest lein-droid I think. I am not able to run any of my projects on my device. I get this same error.
And same thing on emulator.
Check if you updated your SDK/Build tools to 19.0.0. If yes, try compiling the project with JDK7. Seems like new version dropped JDK6 support.
It works when I built the project with Android Build tools 18 and JDK7 but with this line in my project.clj:
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
I think you are right about dropping JDK6 support. I get that error when I build with Android build tools 19.0.0, even with that line in my project.clj.
Android team just broke bad. A week ago you had to put crutches in order to compile with JDK7. Now you cannot use JDK6 at all, and 7 is the only way to go.
I created a lein-droid project with
0.2.0-preview4
. It builds fine, but when the app runs, I get this message on my device:And in
adb logcat
: