ExternalDocumentationLinkImpl(url=https://developer.android.com/reference/, packageListUrl=https://d
dokka
問(wèn)題
java.lang.RuntimeException:
Exception while loading package-list from ExternalDocumentationLinkImpl(url=https://developer.android.com/reference/, packageListUrl=https://developer.android.com/reference/package-list)
原因
使用了下面這個(gè)任務(wù)定義
dokka {
outputFormat = ‘javadoc’
outputDirectory = “D:/workspace/Android/MyNoteDemo/docs”
}
其他鏈接
https://github.com/Kotlin/dokka/issues/213
按照這個(gè)進(jìn)行packageListUrl參數(shù)的手動(dòng)添加 https://developer.android.com/reference/package-list文件,可是沒(méi)有用。。。不清楚參數(shù)解析的方式,且這個(gè)參數(shù)只能有單個(gè)URL參數(shù),對(duì)gradle不太了解,希望了解具體原因的請(qǐng)?jiān)u論告知,謝謝
解決-指定task的type即可
task dokka(type: org.jetbrains.dokka.gradle.DokkaTask){
outputFormat=’javadoc’
outputDirectory=’D:/workspace/Android/MyNoteDemo/docs’
}
總結(jié)
以上是生活随笔為你收集整理的ExternalDocumentationLinkImpl(url=https://developer.android.com/reference/, packageListUrl=https://d的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 无线路由器如何设置WDS无线桥接tp 无
- 下一篇: IntellijIDEA插件编写-删除/