question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build config error, missing aspectpath entry/incorrect classpath

See original GitHub issue

When I try to add Hugo to my build, I get the following during the :app:compileDebugJavaWithJavac task:

build config error: skipping missing, empty or corrupt aspectpath entry: /Users/jeff/projects/VisitorDetector/app/build/tmp/kotlin-classes/debug
incorrect classpath: /Users/jeff/projects/VisitorDetector/app/build/tmp/kotlin-classes/debug
advice defined in hugo.weaving.internal.Hugo has not been applied [Xlint:adviceDidNotMatch]

and I don’t get any of the logging output from Hugo.

Any idea as to what could be going wrong?

The code I’m trying to build with ./gradlew build is at https://github.com/jeffcharles/visitor-detector/tree/add-hugo (specifically the add-hugo branch).

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jeffcharlescommented, Jan 30, 2016

Fair enough. Might be worth calling out that Hugo doesn’t support non-Java Android languages for now in the README.

1reaction
hiteshandroidcommented, Aug 6, 2019

Pretty sure it’s as simple as the fact that the plugin just can’t handle the Kotlin plugin. Right now it hooks into the JavaCompile tasks so Kotlin sources will never be processed (hence the did not match warning). Changing this to a Gradle transform instead of a hacky plugin that hooks into tasks will fix this.

On Fri, Jan 29, 2016 at 10:18 PM Jeffrey Charles notifications@github.com wrote:

When I try to add Hugo to my build, I get the following during the :app:compileDebugJavaWithJavac task: build config error: skipping missing, empty or corrupt aspectpath entry: /Users/jeff/projects/VisitorDetector/app/build/tmp/kotlin-classes/debug incorrect classpath: /Users/jeff/projects/VisitorDetector/app/build/tmp/kotlin-classes/debug advice defined in hugo.weaving.internal.Hugo has not been applied [Xlint:adviceDidNotMatch] and I don’t get any of the logging output from Hugo. Any idea as to what could be going wrong? The code I’m trying to build with ./gradlew build is at https://github.com/jeffcharles/visitor-detector/tree/add-hugo (specifically the add-hugo branch). — Reply to this email directly or view it on GitHub #121.

@JakeWharton. We are currently migrating our android projects to Kotlin. Is the support for Kotlin to be released soon ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weaving production aspect into test class with Gradle AspectJ
java [ant:iajc] [warning] build config error: skipping missing, empty or corrupt inpath entry: [...]\gradle-aspectj-poc\src\test\java\com\hello\aop\TestService.
Read more >
AjcTask (iajc) - Eclipse
Similar to classpath, aspectpath contains read-only, binary aspect libraries that are woven into sources ... If true, emit no errors for unresolved imports....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found