Crashlytics分配失败的身体太长了

时间:2015-04-24 07:02:04

标签: android jenkins crashlytics

使用Jenkins将内容上传到Crashlytics时遇到问题。

到目前为止,这是我的ant build命令。

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 

我有争议地收到以下错误消息。

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

1 个答案:

答案 0 :(得分:6)

Alex来自Fabric。克里斯托弗是对的,你在Beta发行说明中达到16384字符限制。一旦您将发行说明长度减少到16384以下,您就可以全部设定。