Flutter app works as .apk, but "installation failed" with firebase distribution
1,145
This happens when you already have the app installed but the signing keys don't match. Perhaps you are installing a debug version on top of a release version?
Author by
Riley Fitzpatrick
Updated on December 16, 2022Comments
-
Riley Fitzpatrick over 1 year
I am trying to put a Flutter app on Firebase app distribution. I build the .apk, then transfer it onto my android phone. When I test it, no issues. Then, I upload the .apk to Firebase app distribution and try to install it on my phone (after deleting the first). The app downloads, and then attempts to install, but rather than finishing, it closes and gives the error: "Installation failed." I'm assuming this is an error with firebase distribution because the original .apk works, simply will not install when transferred onto distribution.
Things I've tried:
- Enabling multidex
- Adding signing config
flutter clean flutter build apk
Any ideas? Thanks!