User0001
User0001

Reputation: 3

Firebase app distribution fails: invalid apk file

I'm trying to upload an apk for distribution on firebase but I get this error instead:

"There's been an error processing your distribution. Ensure you're uploading a valid IPA or APK and try again. Additional information about this error: Invalid APK file."

I'm indeed trying to upload an apk (which by the way, works fine on device). I thought the issue could be related to the android keystore, but that seems okay too. Can't find much more info on this online. Any suggestions?

Upvotes: 0

Views: 2809

Answers (2)

mrsnow07
mrsnow07

Reputation: 31

In my case. I saw this error when uploading the build to Firebase, to the project where the "Get started" button wasn't pressed. So I saw information about the feature instead of upload dashboard

Upvotes: 0

Suraj Bahadur
Suraj Bahadur

Reputation: 3928

There could be various reasons for this type of issue and you can try the below methods to solve the problem.

  1. Try to upload apk via a google chrome OR any other browser. Reason for saying this is sometime problem is your session invalid. Using any different browser such as firefox,IE etc. would create new session and allow to upload apk.
  2. Sometimes it happens due to low internet speed speed but it's rare.
  3. It could be happened with the application icon. You must need to be set in the AndroidManifest.xml file
  4. You can contact to firebase support team if above doesn't work. Link

Upvotes: 1

Related Questions