Unable to upload apk to Crashlytics

2020-02-13 08:18发布

I'm trying to automate my app build distribution via Jenkyns and Crashlytics. I configured all as indicated on the documentation but crashlyticsUploadDistributionRelease failed with this error: "Distribution upload failed" and "WARN - Crashlytics halted compilation because it can't distribute the unsigned APK:".

how can I fix it ?

3条回答
相关推荐>>
2楼-- · 2020-02-13 08:40

Mike from Fabric and Crashlytics here.

Beta for Android only supports distributing a signed APK, unsigned APKs can't be distributed.

For information on how to sign an Android app, head to Android's documentation here.

查看更多
Explosion°爆炸
3楼-- · 2020-02-13 08:41

I was facing this same issue when I was integrating Fastlane with Crashlytics. I wanted to distribute build to testers.

In Fastlane, you can choose whether you want to publish Debug APK or Release APK. Fastlane trying to publish release APK I just changed it to Debug APK in a Fastfile and it worked.

I am sure it might have some settings in Jenkins also that could publish Debug APK. hope this helps.

查看更多
戒情不戒烟
4楼-- · 2020-02-13 09:01

Crashlytics not support "Android App Bundle". You can only distrubute "APK" in crashlytics beta.

查看更多
登录 后发表回答