Crashlytics: using a build server to release and download an Android app distribution kit

I use Crashlytics to distribute an Android application when creating an assembly using an assembly server (Jenkins).

I followed these instructions: http://support.crashlytics.com/knowledgebase/articles/388924-beta-distributions-with-ant

Whenever I build through Jenkins, the ant commands are described:

clean
release
crashlytics-upload-distribution -DbetaDistributionGroupAliases="team-android"

But I always get the error:

BUILD FAILED
Target "crashlytics-upload-distribution" does not exist in the project "release". 

For more information, my file 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>

Files crashlytics_build_base.xmland crashlytics_build.xmlhas not been altered.

I also use proguard in assemblies, in proguard-project.txt I added:

# Crashlytics - To show correctly the stacktraces
-keepattributes SourceFile,LineNumberTable

Can someone tell me what could be a mistake?

thank

+4
1

Nevermind. build.xml.

build.xml, Android , custom_rules.xml

ant crashlytics-upload-distribution -DbetaDistributionGroupAliases = "-"

build.xml

0

All Articles