Gnurant
Gnurant

Reputation: 446

Unable to upload apk to Crashlytics

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 ?

Upvotes: 10

Views: 8844

Answers (3)

6155031
6155031

Reputation: 4327

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

Upvotes: 3

Harshil
Harshil

Reputation: 180

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.

Upvotes: 0

Mike Bonnell
Mike Bonnell

Reputation: 16239

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.

Upvotes: 17

Related Questions