I'm trying to use Fastlane to upload APKs to Google Play but I am getting this error:
Google Api Error: apkSignedWithDifferentCertificate: APK has been signed with a different certificate to previous APKs.
However, I upload the APK manually and I don't get any error. I'm always using the same certificate to sign and the details are in my build.gradle.
Any ideas what could be happening? My lane is very simple:
lane :deploy do gradle(task: "assembleRelease") supply end