From c9ff25967fe8ea8d9fd83c6492c847046137bd4e Mon Sep 17 00:00:00 2001 From: Nikolai Mashnin Date: Tue, 9 Aug 2016 14:34:38 +0300 Subject: [PATCH] Fix dex exception from simulation: local variable type mismatch --- .../groovy/com/meituan/android/aspectj/AspectJTransform.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/com/meituan/android/aspectj/AspectJTransform.groovy b/src/main/groovy/com/meituan/android/aspectj/AspectJTransform.groovy index b7aaa7e..369c983 100644 --- a/src/main/groovy/com/meituan/android/aspectj/AspectJTransform.groovy +++ b/src/main/groovy/com/meituan/android/aspectj/AspectJTransform.groovy @@ -168,6 +168,7 @@ public class AspectJTransform extends Transform { "-encoding", project.aspectj.compileOptions.encoding, "-inpath", inpath, "-d", output.absolutePath, + "-Xset:generateNewLocalVariableTables=false", // for fixing problems with dex, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=470658 "-bootclasspath", bootpath] // append classpath argument if any