linkedin / dexmaker

A utility for doing compile or runtime code generation targeting Android's Dalvik VM
Apache License 2.0
1.88k stars 249 forks source link

dexmaker-mockito-inline build fails with Cannot notify listeners of type ProjectEvaluationListener as these listeners are already being notified. #101

Closed moltmann closed 6 years ago

moltmann commented 6 years ago

This only happens when syncing gradle files from inside Android Studio. ./gradlew build works. Downgrading to org.jfrog.buildinfo:build-info-extractor-gradle:4.3.0 causes other failures.

This seems to be https://github.com/JFrogDev/build-info/issues/86


Error:FAILURE: Build failed with an exception.

BUILD FAILED in 0s


@drewhannay Any idea how we can work around this?

drewhannay commented 6 years ago

@moltmann I was seeing this too, but didn't have time to investigate yet. Is #102 supposed to fix this?

moltmann commented 6 years ago

No. #102 fixes issues when running the tests out of Android Studio. AS really does not like symlinks. As as I understand there seem to be two solutions to this.