This will cleanly compile on my computer, and works perfectly when invoked by Android Studio.
I have gone through, and both computers have the exact same everything in their relative $ANDROID_HOME folders.
the file it creates
I’m assuming this comes from the fact that we call compile project(':libraries:facebook') in build.gradle
Either:
Where do I put what code for gradle to ignore :libraries:facebook:androidJavadocs?
or
What is it that Facebook wants that it can’t find?
I experienced a similar failure several weeks ago.
The failure was of a completely different task (not javadoc or Android), but the result was also that the output displayed like something specifically failed in the task and --debug or --stacktrace didn’t change the output.
My issue was the build running out of memory (even though the error message wasn’t a normal memory exception) which was revealed by watching the usage with jvmtop. Increasing the available memory resolved the issue.
I think the javadoc process crashed, probably from OOM. I would expect --info to give some logging on the return value of the javadoc process. Can you please check for that.