AAR上传到bintray无声地失败

问题描述 投票:3回答:1

我正在使用this示例用于android,但用我自己的细节替换示例

当我执行任务bintrayUpload

我得到以下日志,即使它说成功,bintray上也没有新文件。

我该如何调试它并找出失败的原因?

    17:34:07: Executing task 'bintrayUpload'...

Executing tasks: [bintrayUpload]

Configuration on demand is an incubating feature.
Configuration(s) specified but the install task does not exist in project :components.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/outputs/aar/components-release.aar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x/components/build/libs/components-0.2.6-javadoc.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/libs/components-0.2.6-sources.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/nx-components/components/build/outputs/aar/components-release.aar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/libs/components-0.2.6-javadoc.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/x/x/x-components/components/build/libs/components-0.2.6-sources.jar.asc could not be found.
:components:bintrayUpload
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6.aar...
Uploading to https://api.bintray.com/content/true/x/x/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6-javadoc.jar...
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6-sources.jar...
Uploading to https://api.bintray.com/content/true/x/x/0.2.6/uk/x/x/x/components/0.2.6/components-0.2.6.aar...
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6.pom...
:bintrayPublish

BUILD SUCCESSFUL in 1s
2 actionable tasks: 2 executed
17:34:09: Task execution finished 'bintrayUpload'.
android-gradle bintray
1个回答
0
投票

在gradle.properties文件中使用守护程序线程禁用守护程序线程运行Gradle任务,然后尝试使用--debug。

org.gradle.daemon=true
© www.soinside.com 2019 - 2024. All rights reserved.