Javadoc generation failed.
具体问题描述:
Execution failed for task ':UIWidget:androidJavadocs'. |
和
javadoc: ?? - ???????: /Users/aria/dev/android/sdk/docs/reference/element-list |
原因:
Android doc 打包设置了linksOffline
选择项,并将其指向了sdk目录的docs/reference
但是docs/reference
在Android Studio 4.0 以上已经被删除了,Sdk tool上也无法下载Documentation for Android SDK
了
No documentation in Android Studio 4.0.1 (Linux Mint) - Stack Overflow
解决
- 将
linksOffline
屏蔽去掉
Javadoc generation failed.
https://www.laoyuyu.me/2021/08/30/android/Javadoc generation failed. Generated Javadoc options file/