Search Issue Tracker

Fixed in 2021.1.15f1

Fixed in 2019.1.X

Votes

0

Found in

2019.1.0a12

Issue ID

1109570

Regression

No

Development build fails deploying because of unmatching signature when firstly .apk is installed and then one is installing .aab

Mobile

-

How to reproduce:
1. Open the attached project
2. Switch to Android platform
3. Go to Publishing Settings
4. Open Keystore manager
5. Create your own keystore and key or use existing one "t.keystore" pass: tttttt key alias:tt pass:tttttt
6. Open build settings and enable Developmetn build
7. Build and run on connected device
Result: .apk file is built, installed to a device and successfully runs
8. Enable "Build App Bundle"
9. Build and run project again (don't edit any other settings)
Result: .aab successfully builds but deployment fails with error
E/SplitApkInstaller: Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.Unity.keyTest signatures do not match the previously installed version;

Note: if firstly .aab is built and ran, then .apk is built and ran -> then on VLNQA00176, Xiaomi Redmi 4 (Redmi 4), Android 6.0.1, CPU: Snapdragon 430 MSM8937, GPU: Adreno (TM) 505 all succeeds and app is running, but on VLNQA00123, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540 it fails with unrelated error
CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details./Users/ieva/Library/Android/sdk/platform-tools/adb -s "711KPED0829564" install -r "/Users/ieva/Downloads/KeyTest/dev2.apk"

Reproducible: 2019.1.0a12, 2019.1.0a3, 2018.1.0a5

App Bundles were introduced in 2018.3.0a4

  1. Resolution Note (fix version 2019.1):

    Landed 2019.1.0b2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.