Hello all, I get:
"App not installed. The package appears to be corrupt."
when trying to install my built APK.
My first thought was to download the APK again, which I did, once on my computer and transferred via USB, and once on the phone itself, but the error persisted. I’ve also built the app again without making any code changes and the same thing still happens. It runs fine inside the Expo app. I can’t find anything about what might cause it - anyone got any ideas?
Sorry for the wait. Looking at my keystore file it seems to be just binary data, I can’t view it in any meaningful way. It was generated following the instructions here, in the ‘Generating a signing key’ section:
I assume I have the wrong type of file, but I can’t find any info on what to do about it.
My most recent build ID is:
Using command exp build:android --clear-credentials I built again, and now the build can install. So I assume the issue is indeed to do with the keystore file. If anyone knows how I can correctly use my keystore with Expo it’d be great.
I’m not sure exactly what was wrong with your keystore, but you can fetch the ones we generated for you with exp fetch:android:keystore, and open them both up in Android Studio to find out how they might be different. If you let us know what we could have validated here it’d be great!