Crashlytics distribution didn't work for too long

I am having a problem uploading a build in Crashlytics using Jenkins.

Below is my ant build command.

ant -file build.xml -DbetaDistributionGroupAliases = android-beta-testers -DbetaDistributionReleaseNotesFilePath = / opt / jenkins / workspace / staging-mobile-android / change_log.txt -Dkey.store = / var / lib / jenkins / Test.keystore -Dkey .store.password = testpassword -Dkey.alias = testkeystore 

I accept the following error message with dismay.

crashlytics-upload-distribution:
     [echo] Uploading /opt/jenkins/workspace/staging-mobile-android/Test/bin/Test-release.apk to Crashlytics ...
     [java] WARN - Crashlytics had a problem uploading the distribution. Validation failed: Body is too long (maximum is 16384 characters)
     [java] Exception in thread "main" com.crashlytics.tools.android.exception.PluginException: Distribution upload failed.
     [java] at com.crashlytics.tools.android.DeveloperTools.processProperties (DeveloperTools.java:533)
     [java] at com.crashlytics.tools.android.DeveloperTools.processArgs (DeveloperTools.java:280)
     [java] at com.crashlytics.tools.android.DeveloperTools.main (DeveloperTools.java:251)
     [java] Caused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it had a problem uploading the distribution.Validation failed: Body is too long (maximum is 16384 characters)
     [java] at com.crashlytics.tools.android.DistributionTasks.uploadDistribution (DistributionTasks.java:91)
     [java] at com.crashlytics.tools.android.DeveloperTools.processProperties (DeveloperTools.java:531)
     [java] ... 2 more

+3


source to share


1 answer


Alex from Cloth is here. Christopher is correct that you hit the 16384 character limit on the beta releases. Once you reduce the issue length to 16384, everything will be installed.



+5


source







All Articles