Closed cz4rny closed 9 years ago
Does your project works on previous android-aspctj plugin without verify errors?
That’s a valid question. I’ll check that and report back. Have to lower the android gradle tools version to make that.
On Wednesday, 25 June 2014 at 11:13, Sosuke Masui wrote:
Does your project works on previous android-aspctj plugin without verify errors?
— Reply to this email directly or view it on GitHub (https://github.com/uPhyca/gradle-android-aspectj-plugin/issues/2#issuecomment-47077705).
@esmasui Tested with:
classpath 'com.android.tools.build:gradle:0.9.+'
classpath 'com.uphyca.gradle:gradle-android-aspectj-plugin:0.9.4+'
And no VFY errors visible.
Please note, that I have never perviously used 0.9.4. I've started with 0.9.5 and reported the issue, so I've downgraded to test as per your request.
@cz4rny Thank you for your report. I will fix the errors in next release. Please use 0.9.4 until new version is released.
Any updates on this? I too get the same error, but when I downgrade to 0.9.4 I have an incompatibility with this plugin and the android plugin we are using on our project. specifically
No such property: runtimeJarList for class: com.android.build.gradle.AppPlugin
If i monkey patch my AppPlugin class to expose a runtimeJarList property which simply delegates to the bootclasspath, I get other issues related to hardcoded source roots in 0.9.4 version of plugin which do not exist.
@cz4rny @georgepapas I've just released new version 0.9.7 that fixes VFY errors and supports latest Android build tools. Please try it.
I've seen from the commits that this has been fixed once a few days ago. With g-a-a-p 0.9.5 I'm getting the VerifyError when running weaved code (I see in the logs that the files are weaved).
My set up is a library project with jcabi-aspects that is weaved and then an APK project linking with the library.
And then the APK project:
And the stacktrace: