hugo icon indicating copy to clipboard operation
hugo copied to clipboard

Artifact 'aspectjrt' does not come transitively in development

Open JakeWharton opened this issue 12 years ago • 3 comments

But does in production. See "TODO" in HugoPlugin's project.dependencies block.

JakeWharton avatar Dec 03 '13 16:12 JakeWharton

Hi. I've got an exception: java.lang.NoClassDefFoundError: org.aspectj.runtime.reflect.Factory using hugo version 1.0.1. What should I do to fix this?

makovkastar avatar Dec 25 '13 18:12 makovkastar

That is unrelated to this issue. Something (probably proguard) is causing the AspectJ classes to be removed from your APK.

JakeWharton avatar Dec 27 '13 01:12 JakeWharton

I'm suffering from the same problem. I had to add compile 'org.aspectj:aspectjrt:1.8.5' to my android project. Is this mandatory?

I added the dependency, because I was getting the following message in my build: classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)

Info: hugo-plugin:1.2.1 android gradle plugin 1.1.3

dinisnunes1 avatar Jun 03 '15 13:06 dinisnunes1