From bc823889640ddb88ea1bd7850db9be5b2971f683 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 10 Dec 2013 15:07:22 +0100 Subject: [PATCH 1/2] Create Java6 bytecode for transdroid.jar Android will only be able to create Dalvik bytecode if the input Java bytecode is in Java6 format. Otherwise we get a bunch of NoClassDefFoundError Exceptions along with "Could not find class X", "Unable to resolve static method Y" and such errors for code in transdroid.jar. --- lib/build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/build.xml b/lib/build.xml index 4ec416e3..e1c6514f 100644 --- a/lib/build.xml +++ b/lib/build.xml @@ -19,6 +19,7 @@ srcdir="src/" destdir="build/" bootclasspath="${sdk-location}/platforms/${android.version}/android.jar" + target="6" /> Date: Wed, 11 Dec 2013 12:31:51 +0100 Subject: [PATCH 2/2] Create build directory for transdroid.jar if it does not exists already. --- lib/build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/build.xml b/lib/build.xml index e1c6514f..066dfff7 100644 --- a/lib/build.xml +++ b/lib/build.xml @@ -15,6 +15,7 @@ +