我使用Crashlytics在使用构建服务器(Jenkins)进行构建时分发Android应用程序。Crashlytics:使用构建服务器进行发布并上传Android应用程序的发布
我在这里跟着指示:http://support.crashlytics.com/knowledgebase/articles/388924-beta-distributions-with-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
有人能指出我可能是什么错误?
谢谢