【发布时间】:2014-12-17 17:11:57
【问题描述】:
在使用构建服务器 (Jenkins) 进行构建时,我正在使用 Crashlytics 分发 Android 应用。
我已按照此处的说明进行操作:http://support.crashlytics.com/knowledgebase/articles/388924-beta-distributions-with-ant
每当我通过 Jenkins 进行构建时,都会描述 ant 命令:
clean
release
crashlytics-upload-distribution -DbetaDistributionGroupAliases="team-android"
但我总是得到错误:
BUILD FAILED
Target "crashlytics-upload-distribution" does not exist in the project "release".
更多信息,我的文件custom_rules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="crashlytics_custom_rules" default="help">
<!-- See the instructions at the top of crashlytics_build.xml
for information about nonstandard builds. -->
<import file="crashlytics/crashlytics_build.xml"/>
</project>
文件:crashlytics_build_base.xml & crashlytics_build.xml 未更改。
我还在构建中使用 proguard,在我添加的 proguard-project.txt 上:
# Crashlytics - To show correctly the stacktraces
-keepattributes SourceFile,LineNumberTable
谁能指出可能是什么错误?
谢谢
【问题讨论】:
标签: android ant jenkins proguard crashlytics