Can't overwrite app

Hey, I feel a bit stuck, I hope someone who knows more about Android can help me. For some reason I can’t overwrite my app for a while now. I don’t fully understand why. If the app has not been installed previously, it works fine. It also works perfect on IOS. I’m afraid that if I publish an apk on google play, that it will also cause problems when overwriting.

I checked the build version code and app version. They are higher than the previous one.
I tried to build using Unity, but also an APK which I just installed via drive. I can’t seem to overwrite a current live build. I’m using the same keystore I used when publishing the live build.
The same thing happens when I use Unity 2020.3/8f1 on IOS as well as Windows.

The only feedback I get is that my phone can’t be found, but when I try to build without a previous version installed, there is no problem. My phone is definitely recognized and usb debugging is on, pc is trusted.

Error codes shortened down :

Installation failed with the following output:
The APKs have been extracted in the directory: C:\Users\Julian\AppData\Local\Temp\5818887954403777002
[BT:0.10.3] Error: Installation of the app failed.
com.android.tools.build.bundletool.model.exceptions.InstallationException: Installation of the app failed.
at com.android.tools.build.bundletool.model.exceptions.InstallationException$Builder.build(InstallationException.java:47)

UnityEditor.DeploymentTargets.IDeploymentTargetsMainThreadContext context, UnityEditor.Android.AndroidDevice device, UnityEditor.Android.AndroidDeploymentTargetsExtension+LaunchProgressTaskManager taskManager) (at <2c6e9a95f1dd4e06ad71afcd2684dcb7>:0)

UnityException: Could not find any valid targets to launch on for Android
UnityEditor.PostprocessBuildPlayer.LaunchOnTargets (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget buildTarget, UnityEditor.Build.Reporting.BuildReport buildReport, System.Collections.Generic.List`1[T] launchTargets) (at <015079d9a4ea4f97b4381e694d2310c1>:0)

UnityException: Could not find any valid targets to launch on for Android

Logcat on the moment of installation
2021/05/28 20:35:58.039 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:35:58.148 807 807 Info SurfaceFlinger SFWD update time=1899469672103
2021/05/28 20:35:58.151 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:35:58.151 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:35:58.151 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:35:58.520 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:35:58.880 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:35:59.151 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:35:59.152 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:35:59.152 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:35:59.243 526 526 Info io_stats !@ 8,0 r 299730 8857588 w 60656 2544032 d 36565 19161356 f 24963 31321 iot 81132 73450 th 102400 0 0 pt 0 inp 0 0 1900.563
2021/05/28 20:35:59.359 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:35:59.719 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:35:59.839 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:36:00.000 1167 1345 Debug SamsungAlarmManager Expired : 8
2021/05/28 20:36:00.001 1167 1345 Info SamsungAlarmManager setLocked to kernel - T:2 / 20210528T203648, set=2422250, now=2374132
2021/05/28 20:36:00.001 1167 1345 Info SamsungAlarmManager setLocked to kernel - T:3 / 20210528T203600, set=2374132, now=2374132
2021/05/28 20:36:00.001 1167 1345 Debug SamsungAlarmManager Expired : 8
2021/05/28 20:36:00.002 1167 1345 Info SamsungAlarmManager setLocked to kernel - T:2 / 20210528T203648, set=2422250, now=2374133
2021/05/28 20:36:00.002 1167 1345 Error AlarmManager Set nextNonWakeup as mNextNonWakeupDeliveryTime=2554131 , orig nextNonWakeup=0
2021/05/28 20:36:00.002 1167 1345 Info SamsungAlarmManager setLocked to kernel - T:3 / 20210528T203900, set=2554131, now=2374134
2021/05/28 20:36:00.152 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:00.152 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:00.152 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:00.199 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:36:01.039 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:36:01.061 4021 4497 Info System.out (HTTPLog)-Static: isSBSettingEnabled false
2021/05/28 20:36:01.061 4021 4497 Info System.out (HTTPLog)-Static: isSBSettingEnabled false
2021/05/28 20:36:01.065 699 773 Error Netd getNetworkForDns: getNetId from enterpriseCtrl is netid 0
2021/05/28 20:36:01.086 1167 1648 Debug NetdEventListenerService DNS Requested by : 602, 10106
2021/05/28 20:36:01.090 1167 1487 Error NetdEventListenerService DNS failed (10106) : 4
2021/05/28 20:36:01.153 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:01.153 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:01.153 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:01.250 7845 7847 Info cmd oneway function results will be dropped but finished with status OK and parcel size 4
2021/05/28 20:36:01.352 7850 7852 Info cmd oneway function results will be dropped but finished with status OK and parcel size 4
2021/05/28 20:36:01.578 1167 1648 Info PersonaServiceHelper isCallerApprovedToInstall(uid:2000 userHandle:0)
2021/05/28 20:36:01.578 1167 1648 Info PersonaServiceHelper DO is not enabled. no Knox app install enforcement
2021/05/28 20:36:01.579 1167 1648 Info PackageInstaller getting through the check android.content.pm.PackageInstaller$SessionParams@2081ed8 user id 0
2021/05/28 20:36:01.579 1167 1648 Info PackageInstaller UserManager.DISALLOW_NON_MARKET_APP_BY_KNOX : false
2021/05/28 20:36:01.585 1167 1648 Warn PackageInstallTime Active Logging info over 32
2021/05/28 20:36:01.585 1167 1648 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 1887895024, tag: Session
2021/05/28 20:36:01.585 1167 1648 Debug PackageInstallerSession InstallLogger: PackageInstallerSession(): createInstallTimeInfo(1887895024)
2021/05/28 20:36:01.679 1167 1648 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 1887895024, tag: Write
2021/05/28 20:36:02.097 1167 1235 Info PowerManagerService [PWL] Off : 15s ago
2021/05/28 20:36:02.154 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:02.155 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:02.155 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:02.378 25275 25275 Info wpa_supplicant Heartbeat 153
2021/05/28 20:36:02.487 3987 4635 Info SDHMS:G SIOP:: AP:234(307,100) BAT:306(306,0) USB:307(307,0) CHG:320(320,0) CP:308(308,0) WIFI:305(305,0) LRP:311(311,0) BLRF:311(311) BLRB:308(308)
2021/05/28 20:36:02.598 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:36:02.977 2989 2989 Debug BoundBrokerSvc onUnbind: Intent { act=com.google.android.gms.clearcut.bootcount.service.START cmp=com.google.android.gms/.chimera.PersistentBoundBrokerService }
2021/05/28 20:36:03.148 807 807 Info SurfaceFlinger SFWD update time=1904469792869
2021/05/28 20:36:03.155 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:03.155 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:03.155 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:03.258 526 526 Info io_stats !@ 8,0 r 299730 8857588 w 60666 2544304 d 36600 19161584 f 24980 31341 iot 81144 73458 th 102400 0 0 pt 0 inp 0 0 1904.577
2021/05/28 20:36:03.318 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:36:03.825 1167 1648 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 1887895024, tag: Write
2021/05/28 20:36:03.850 1167 1239 Debug BatteryService Sending ACTION_BATTERY_CHANGED. scale:100, info:{.chargerAcOnline = false, .chargerUsbOnline = true, .chargerWirelessOnline = false, .maxChargingCurrent = 0, .maxChargingVoltage = 0, .batteryStatus = CHARGING, .batteryHealth = GOOD, .batteryPresent = true, .batteryLevel = 52, .batteryVoltage = 3908, .batteryTemperature = 306, .batteryCurrent = 412, .batteryCycleCount = 0, .batteryFullCharge = 4000000, .batteryChargeCounter = 1913010, .batteryTechnology = Li-ion}
2021/05/28 20:36:03.850 1167 1239 Debug BatteryService online:4, current avg:378, charge type:1, POGO powered:false, power sharing:false, high voltage charger:false, charger_type:0, capacity:280000, misc_event:0x10000, current_event:0x0, current_now:412
2021/05/28 20:36:03.863 1167 1354 Debug MotionRecognitionService onReceive : ACTION_BATTERY_CHANGED, Plugged: 2
2021/05/28 20:36:03.863 1167 1354 Info MotionRecognitionService [TA] In/out: true, curr state: 1
2021/05/28 20:36:03.863 1545 1545 Debug SemBigDataInfoController Intent : android.intent.action.BATTERY_CHANGED
2021/05/28 20:36:03.864 1545 1545 Debug SemBigDataInfoController Intent : android.intent.action.BATTERY_CHANGED
2021/05/28 20:36:03.866 1167 1167 Debug PhoneWindowManagerExt ACTION_BATTERY_CHANGED - Level=52, status=2
2021/05/28 20:36:03.866 1167 1167 Debug SemWifiApBroadcastReceiver Received : android.intent.action.BATTERY_CHANGED
2021/05/28 20:36:03.867 1167 1167 Debug AdaptiveBrightnessLongtermModelBuilder Received android.intent.action.BATTERY_CHANGED
2021/05/28 20:36:03.867 1586 1586 Info AODBatteryManager updateBatteryData: ACTION_BATTERY_CHANGED
2021/05/28 20:36:03.872 1586 1586 Info AODBatteryManager saveBatteryData : AOD BatteryData [mBatteryLevel=52, mBatteryStatus=CHARGING, mBatteryPlugType=USB, mBatteryPlugged=true, mRemainingChargeTime=11864000, mBatteryChargingType=1, mBatteryChargerType=NORMAL, mBatteryOnline=USB, mBatterySwellingMode=NONE]
2021/05/28 20:36:03.872 1586 1586 Info ChargingInfoManager updateChargingInfo: newState = AOD ChargingInfo [mState=BATTERY_AND_REMAIN_TIME, mIsCharging=true, mIsFullyCharged=false], oldState = AOD ChargingInfo [mState=BATTERY_AND_REMAIN_TIME, mIsCharging=true, mIsFullyCharged=false]
2021/05/28 20:36:03.874 1167 3838 Debug PowerManagerService [api] acquire WakeLock DRAW_WAKE_LOCK ‘Window:NotificationShade’ (uid=1000 pid=1167 pkg=android ws=WorkSource{10052 com.android.systemui})
2021/05/28 20:36:03.874 1167 3838 Debug PowerManagerService mDisplayReady: false
2021/05/28 20:36:03.874 1167 3838 Debug PowerManagerService mDisplayReady: false
2021/05/28 20:36:03.876 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=3, targetInternal=3, dualScreenPolicy=-1
2021/05/28 20:36:03.877 1167 3838 Debug PowerManagerService [PWL] sb acquire: PowerManagerService.Display
2021/05/28 20:36:03.878 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:03.879 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:03.880 1167 1508 Debug DisplayManagerService !@display_state internal: DOZE_SUSPEND → DOZE
2021/05/28 20:36:03.880 1167 1508 Debug LocalDisplayAdapter !@ display_state: DOZE_SUSPEND → DOZE (id:21442653864348033)
2021/05/28 20:36:03.881 1167 1203 Info DisplayManagerService Display device changed state: “Built-in Screen”, DOZE
2021/05/28 20:36:03.882 807 807 Debug SurfaceFlinger Setting power mode 1 on display 21442653864348033
2021/05/28 20:36:03.882 720 815 Error display DOZE or Power off called twice, mPowerModeState : 3
2021/05/28 20:36:03.882 720 815 Debug display setPowerMode:: FBIOBLANK mode(1), blank(-1)
2021/05/28 20:36:03.885 720 815 Debug display setPowerMode:: S3CFB_POWER_MODE mode(1), blank(-1)
2021/05/28 20:36:03.885 720 815 Info display [compareVsyncPeriod] set the lowest(mode:0) vsync 333 of display(0)
2021/05/28 20:36:03.885 807 807 Debug SurfaceFlinger Finished setting power mode 1 on display 21442653864348033
2021/05/28 20:36:03.886 1167 1508 Debug DisplayPowerController setActualDisplayState: DOZE_SUSPEND → DOZE
2021/05/28 20:36:03.895 1167 1351 Info CAE handleMessage(CaPowerManager.java:191) - AP_SLEEP_Already_Delivered
2021/05/28 20:36:03.895 1167 1167 Debug GameManagerService onDisplayChanged. displyId: 0, state: 3
2021/05/28 20:36:03.895 1167 1351 Info CAE handleMessage(CaPowerManager.java:212) - SCREEN_ON_Already_Delivered
2021/05/28 20:36:03.895 1167 1374 Debug GameManagerService onLooperPrepared(), msg: MSG_LCD_OFF
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=3, targetInternal=3, dualScreenPolicy=-1
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=3, targetInternal=3, dualScreenPolicy=-1
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:03.896 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:03.896 1167 1235 Debug PowerManagerService DisplayPowerCallbacks : onStateChanged()
2021/05/28 20:36:03.896 1167 1235 Debug PowerManagerService mDisplayReady: true
2021/05/28 20:36:03.896 1167 1235 Debug PowerManagerService mDisplayReady: true
2021/05/28 20:36:03.897 1167 1235 Debug PowerManagerService [PWL] sb release: PowerManagerService.Display
2021/05/28 20:36:03.901 1167 1204 Debug SurfaceControl hide : mNativeObject = 488755586992 - sc.mNativeObject = 488218685840 - Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:03.901 1167 1204 Debug SurfaceControl nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:03.902 7137 7137 Info BSS_SysUiClient handleDisplayChanged: 3, 0, DisplayMetrics{density=3.0, width=1080, height=2400, scaledDensity=3.0, xdpi=428.625, ydpi=423.33298}
2021/05/28 20:36:03.902 7137 7137 Info BSS_SysUiWindow.S.I handleScreenEvent : false, false, false, false
2021/05/28 20:36:03.905 1167 1204 Debug SurfaceControl hide : mNativeObject = 488755586992 - sc.mNativeObject = 488218685840 - Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:03.905 1167 1204 Debug SurfaceControl nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:03.906 1586 1586 Info PowerUI BATTERY_HEALTH_CHECK extraHealth=2 mBatteryMiscEvent=65536
2021/05/28 20:36:03.906 1586 1586 Debug PowerUI priorPlugType = 2 mPlugType = 2 priorBatteryStatus = 2 mBatteryStatus = 2
2021/05/28 20:36:03.908 1586 1586 Debug PowerUI.Notification showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 11889000 mChargingTime : 11864000
2021/05/28 20:36:03.908 1586 1586 Debug PowerUI.Notification showChargingNotification()
2021/05/28 20:36:03.910 1167 1188 Debug ApplicationPolicy isStatusBarNotificationAllowedAsUser: packageName = com.android.systemui,userId = 0
2021/05/28 20:36:03.910 1167 1188 Debug PersonaManagerAdapter ContainerOnlyMode - EOS
2021/05/28 20:36:03.910 1167 1188 Debug ApplicationPolicy isStatusBarNotificationAllowedAsUser: packageName = com.android.systemui,userId = -1
2021/05/28 20:36:03.910 1167 1188 Debug PersonaManagerAdapter ContainerOnlyMode - EOS
2021/05/28 20:36:03.910 1167 1188 Debug ApplicationPolicy isStatusBarNotificationAllowedAsUser: converting userId from USER_ALLto 0
2021/05/28 20:36:03.910 1167 1188 Debug PersonaManagerAdapter ContainerOnlyMode - EOS
2021/05/28 20:36:03.911 1586 1586 Debug PowerUI Battery swelling mode - priorBatterySwellingMode = 0 mBatterySwellingMode = 0 mBatteryStatus = 2
2021/05/28 20:36:03.911 1586 1586 Info PowerUI mBatteryMiscEvent = 65536
2021/05/28 20:36:03.911 1586 1586 Debug KeyguardUpdateMonitor received broadcast android.intent.action.BATTERY_CHANGED
2021/05/28 20:36:03.912 1586 1586 Info ChargingInfoView handleMessage: MSG_SHOW_CHARGING_INFO
2021/05/28 20:36:03.912 1586 1586 Info BottomChargingInfoView updateContents: BATTERY_AND_REMAIN_TIME
2021/05/28 20:36:03.912 1586 1586 Info AOD_WAKELOCK@WakeLockManager acquireIfExists: tag - charging_info, timeout - 1000, reason - Charging Info is showing, delay by 500, wakeLock = WakeLock{fe352fa held=false, refCount=0}
2021/05/28 20:36:03.912 1167 3838 Debug PowerManagerService [api] acquire WakeLock DRAW_WAKE_LOCK ‘charging_info’ (uid=10052 pid=1586 pkg=com.android.systemui)
2021/05/28 20:36:03.913 1586 1586 Info ChargingInfoManager getDeviceRemainingTime: 3 h 17 m until full
2021/05/28 20:36:03.914 1586 1586 Info AbsChargingInfoComponent setVisibilityWithAnim: skipped true
2021/05/28 20:36:03.915 1167 3838 Debug PowerManagerService [api] acquire WakeLock DRAW_WAKE_LOCK ‘Window:NotificationShade’ ACQ=-33ms (uid=1000 pid=1167 pkg=android ws=WorkSource{10052 com.android.systemui})
2021/05/28 20:36:03.930 1586 1586 Debug DisplayLifecycle updateDisplay id = 0
2021/05/28 20:36:03.932 1586 1586 Info AOD_LIVE_CLOCK@LiveClockController updateDisplayState: DISPLAY_STATE_DOZE / sOccurredErrorFromDriver = false
2021/05/28 20:36:03.932 1586 1586 Debug KeyguardUpdateMonitor handleBatteryUpdate
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy add T Event pos = DEFAULT, type = BATTERY, id = 148, text = Charging: 52%
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy 3 h 17 m until full, duration = 3000
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy update top pos = DEFAULT, item = [id=146|ty=BATTERY_RESTING|pr=20|txt=Charging: 52%
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy 3 h 18 m until full|ti=duration=PERSISTENT|an=false] → [id=148|ty=BATTERY|pr=40|txt=Charging: 52%
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy 3 h 17 m until full|ti=duration=3000|an=false]
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationController onIndicationChanged() return - keyguard is not visible, pos = DEFAULT, item = [id=148|ty=BATTERY|pr=40|txt=Charging: 52%
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationController 3 h 17 m until full|ti=duration=3000|an=false]
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy update Event pos = DEFAULT, type = BATTERY_RESTING, id = 149, text = Charging: 52%
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationPolicy 3 h 17 m until full
2021/05/28 20:36:03.937 1586 1586 Debug KeyguardSecIndicationController addBatteryIndication() status = BatteryStatus{status=2,level=52,plugged=2,health=2,maxChargingWattage=-1,remaining=11864000ultraFastCharger=0}
2021/05/28 20:36:04.137 1167 1167 Warn NotificationHistory Attempted to add notif for locked/gone/disabled user 0
2021/05/28 20:36:04.137 1167 1167 Debug PowerManagerService [api] release WakeLock DRAW_WAKE_LOCK ‘Window:NotificationShade’ ACQ=-255ms (uid=1000 pid=1167 pkg=android ws=WorkSource{10052 com.android.systemui})
2021/05/28 20:36:04.145 1586 1586 Debug InterruptionStateProvider No bubble up: not allowed to bubble: -1|com.android.systemui|2131362953|charging_state|10052
2021/05/28 20:36:04.151 1928 1928 Info Launcher.NotificationListener onNotificationPosted : com.android.systemui number : 0
2021/05/28 20:36:04.155 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:04.156 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:04.156 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:04.175 1586 1586 Debug PluginAODManager onNotificationInfoUpdated() 0|com.whatsapp|1|YNF5yba45bt8WPRi2OQSd80OJ1OwzejO64EhRc2lIGU=
2021/05/28 20:36:04.175 1586 1586 Debug PluginAODManager |10356
2021/05/28 20:36:04.175 1586 1586 Debug PluginAODManager onNotificationInfoUpdated() -1|com.android.systemui|2131233324|noti_DoNotDisturb|10052
2021/05/28 20:36:04.175 1586 1586 Info AODNotificationManager updateVisibleNotifications: 2
2021/05/28 20:36:04.202 1586 1586 Error ExpandableNotifRow onNotificationUpdated() NSSL is null…
2021/05/28 20:36:04.206 1586 1586 Debug FaceWidgetNotificationManager updateFaceWidgetMusicNotificationKey() return : mFaceWidgetMusicNotificationKey is empty
2021/05/28 20:36:04.520 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:36:04.758 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:36:04.914 1167 1189 Debug PowerManagerService [api] release WakeLock DRAW_WAKE_LOCK ‘charging_info’ ACQ=-1s1ms (uid=10052 pid=1586 pkg=com.android.systemui)
2021/05/28 20:36:04.914 1167 1189 Debug PowerManagerService mDisplayReady: false
2021/05/28 20:36:04.914 1167 1189 Debug PowerManagerService mDisplayReady: false
2021/05/28 20:36:04.915 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=4, targetInternal=4, dualScreenPolicy=-1
2021/05/28 20:36:04.915 1167 1189 Debug PowerManagerService [PWL] sb acquire: PowerManagerService.Display
2021/05/28 20:36:04.917 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:04.917 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:04.918 1167 1508 Debug DisplayManagerService !@display_state internal: DOZE → DOZE_SUSPEND
2021/05/28 20:36:04.918 1167 1508 Debug LocalDisplayAdapter !@ display_state: DOZE → DOZE_SUSPEND (id:21442653864348033)
2021/05/28 20:36:04.918 1167 1203 Info DisplayManagerService Display device changed state: “Built-in Screen”, DOZE_SUSPEND
2021/05/28 20:36:04.919 807 807 Debug SurfaceFlinger Setting power mode 3 on display 21442653864348033
2021/05/28 20:36:04.919 720 815 Error display DOZE or Power off called twice, mPowerModeState : 1
2021/05/28 20:36:04.919 720 815 Debug display setPowerMode:: FBIOBLANK mode(3), blank(-1)
2021/05/28 20:36:04.919 720 815 Debug display setPowerMode:: S3CFB_POWER_MODE mode(3), blank(-1)
2021/05/28 20:36:04.919 807 807 Debug SurfaceFlinger Finished setting power mode 3 on display 21442653864348033
2021/05/28 20:36:04.920 1167 1508 Debug DisplayPowerController setActualDisplayState: DOZE → DOZE_SUSPEND
2021/05/28 20:36:04.920 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=4, targetInternal=4, dualScreenPolicy=-1
2021/05/28 20:36:04.920 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:04.921 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:04.921 1167 1235 Debug DisplayPowerController animateScreenStateChange: target=4, targetInternal=4, dualScreenPolicy=-1
2021/05/28 20:36:04.921 1167 1235 Debug DisplayPowerController getFinalBrightness : Summary is 71 (0.28) → 71 (0.28)
2021/05/28 20:36:04.921 1167 1235 Debug DisplayPowerController Animating brightness: target= 71 (0.28), rate=0.0 (PSM:, AB limit:( -1 (NaN) ~ -1 (NaN)) MB Limit:( -1 (NaN) ~ -1 (NaN))
2021/05/28 20:36:04.921 1167 1235 Debug PowerManagerService DisplayPowerCallbacks : onStateChanged()
2021/05/28 20:36:04.921 1167 1235 Debug PowerManagerService mDisplayReady: true
2021/05/28 20:36:04.921 1167 1235 Debug PowerManagerService mDisplayReady: true
2021/05/28 20:36:04.922 1167 1235 Debug PowerManagerService [PWL] sb release: PowerManagerService.Display
2021/05/28 20:36:04.922 1167 1167 Debug GameManagerService onDisplayChanged. displyId: 0, state: 4
2021/05/28 20:36:04.923 1167 1351 Info CAE handleMessage(CaPowerManager.java:191) - AP_SLEEP_Already_Delivered
2021/05/28 20:36:04.923 1167 1351 Info CAE handleMessage(CaPowerManager.java:212) - SCREEN_ON_Already_Delivered
2021/05/28 20:36:04.925 1167 1374 Debug GameManagerService onLooperPrepared(), msg: MSG_LCD_OFF
2021/05/28 20:36:04.928 1167 1281 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 1887895024, tag: Commit
2021/05/28 20:36:04.933 7137 7137 Info BSS_SysUiClient handleDisplayChanged: 4, 0, DisplayMetrics{density=3.0, width=1080, height=2400, scaledDensity=3.0, xdpi=428.625, ydpi=423.33298}
2021/05/28 20:36:04.933 7137 7137 Info BSS_SysUiWindow.S.I handleScreenEvent : false, false, false, false
2021/05/28 20:36:04.933 1586 1586 Debug DisplayLifecycle updateDisplay id = 0
2021/05/28 20:36:04.935 1167 1204 Debug SurfaceControl hide : mNativeObject = 488755586992 - sc.mNativeObject = 488218685840 - Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:04.935 1167 1204 Debug SurfaceControl nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:04.936 1586 1586 Info AOD_LIVE_CLOCK@LiveClockController updateDisplayState: DISPLAY_STATE_DOZE_SUSPEND / sOccurredErrorFromDriver = false
2021/05/28 20:36:04.938 1167 1204 Debug SurfaceControl hide : mNativeObject = 488755586992 - sc.mNativeObject = 488218685840 - Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:04.938 1167 1204 Debug SurfaceControl nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0x5c0e990
2021/05/28 20:36:05.063 1167 1281 Warn PackageInstallTime changeInstallTimeInfoKey(1887895024, …): cannot find InstallTimeInfo with key
2021/05/28 20:36:05.063 1167 1281 Info PersonaServiceHelper installStageForKnox(user:-1 installerUid:2000)
2021/05/28 20:36:05.063 1167 1281 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620, tag: Stage
2021/05/28 20:36:05.063 1167 1281 Info PackageManager START INSTALL PACKAGE: observer{218092620}
2021/05/28 20:36:05.063 1167 1281 Info PackageManager stagedDir{/data/app/vmdl1887895024.tmp}
2021/05/28 20:36:05.063 1167 1281 Info PackageManager stagedCid{null}
2021/05/28 20:36:05.063 1167 1281 Info PackageManager pkg{com.xx.Animals}
2021/05/28 20:36:05.063 1167 1281 Info PackageManager Request from{null}
2021/05/28 20:36:05.063 1167 1281 Info PackageManager VerificationInfo{,originatingUid=-1,installerUid=2000}
2021/05/28 20:36:05.080 1167 1247 Info AppOps updateUidProcState uid: 1000 procState: 0 capability:7
2021/05/28 20:36:05.080 1167 1247 Debug PowerManagerService [api] setDeviceIdleTempWhitelist: appids: [0]1000 (uid: 1000 pid: 1167)
2021/05/28 20:36:05.082 1167 1247 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620
2021/05/28 20:36:05.082 1167 1247 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620, tag: Init
2021/05/28 20:36:05.087 1167 1247 Debug PowerManagerService [api] setDeviceIdleTempWhitelist: appids: [0]1000 [1]10244 (uid: 1000 pid: 1167)
2021/05/28 20:36:05.103 5494 5494 Info Finsky [2] adbm.b(5): Verification requested, id = 11
2021/05/28 20:36:05.108 1167 1247 Debug PackageManager sendBroadcastAsUser. PACKAGE_INSTALL_STARTED
2021/05/28 20:36:05.111 5494 5494 Error Finsky [2] VerifyPerSourceInstallationConsentInstallTask.d(2): Package name null is not an installed package
2021/05/28 20:36:05.113 1167 1247 Info PackageManager Integrity check passed for file:///data/app/vmdl1887895024.tmp
2021/05/28 20:36:05.115 27835 27835 Info GOS:GameServiceReceiver action : com.samsung.android.intent.action.PACKAGE_INSTALL_STARTED
2021/05/28 20:36:05.115 1167 1167 Debug PackageManager [VERIFY] onReceive for RequiredVerifier id=11,mUid = 10244
2021/05/28 20:36:05.115 27835 27835 Info GOS:GameServiceReceiver PkgInstallStarted for com.xx.Animals UserID : 0
2021/05/28 20:36:05.115 1167 1167 Debug PackageManager [VERIFY] sendMessageDelayed(CHECK_PENDING_VERIFICATION, 11, 17000)
2021/05/28 20:36:05.117 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:36:05.123 5494 7869 Info Finsky [2996] adcv.a(7): Single user settings service is not running, bind it now
2021/05/28 20:36:05.127 27835 7870 Info GOS:GameIntentService onHandleIntent. GameIntentService. type: 15, pkgName: null
2021/05/28 20:36:05.134 5494 5494 Info Finsky [2] adcu.onServiceConnected(1): Single user settings service is connected
2021/05/28 20:36:05.156 1008 1515 Info bauth_FPBAuthService pcf : 0x1012, 0 ,1 ,0 ,1 ,0 ,0, 5.1.0.1
2021/05/28 20:36:05.156 1008 1515 Info bauth_FPBAuthService thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
2021/05/28 20:36:05.156 1008 1515 Info bauth_FPBAuthService FPBAuthService, 11556
2021/05/28 20:36:05.187 5494 7869 Warn Settings Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
2021/05/28 20:36:05.237 1586 1586 Debug SensorManager TYPE_LIGHT (5): 77.000000
2021/05/28 20:36:05.238 27835 7870 Info GOS:GameIntentService onHandleIntent(). changeType(INSTALL_STARTED), packageName(com.xx.Animals), UserHandle(0), Installed(true)
2021/05/28 20:36:05.268 526 526 Info io_stats !@ 8,0 r 299730 8857588 w 60815 2616088 d 36600 19161584 f 24982 31344 iot 81440 73746 th 102400 0 0 pt 0 inp 0 0 1906.589
2021/05/28 20:36:05.449 5494 7869 Info Finsky [2996] lbf.b(3): Task 7 requested foreground
2021/05/28 20:36:05.449 5494 7869 Info Finsky [2996] lbf.b(8): Not entering foreground
2021/05/28 20:36:05.455 699 780 Error Netd getNetworkForDns: getNetId from enterpriseCtrl is netid 0
2021/05/28 20:36:05.456 699 773 Error Netd getNetworkForDns: getNetId from enterpriseCtrl is netid 0
2021/05/28 20:36:05.484 1167 1188 Debug NetdEventListenerService DNS Requested by : 602, 10244
2021/05/28 20:36:05.487 699 780 Error Netd getNetworkForDns: getNetId from enterpriseCtrl is netid 0
2021/05/28 20:36:05.599 1586 1586 Debug SensorManager TYPE_LIGHT (5): 78.000000
2021/05/28 20:36:05.689 5494 7877 Info Finsky [2999] adhh.c(3): Verify: Verification package=com.xx.Animals, id=11 response=0
2021/05/28 20:36:05.771 5494 7869 Info Finsky [2996] VerifyPerSourceInstallationConsentInstallTask.mJ(2): PSIC verification started with installer uid: 2000 package name: null, originating uid: -1
2021/05/28 20:36:05.773 5494 5494 Info Finsky [2] VerifyInstallTask.j(3): Verifying id=11, result=1
2021/05/28 20:36:05.773 1167 1189 Debug PackageManager [VERIFY] verifyPendingInstall(11, ALLOW), uid=10244
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager [VERIFY] PACKAGE_VERIFIED:
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager PackageVerificationState{
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager verifier packages=com.android.vending(10244),com.samsung.android.sm.devicesecurity(5012),
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager intent=Intent { act=android.intent.action.PACKAGE_NEEDS_VERIFICATION dat=file:///data/app/vmdl1887895024.tmp typ=application/vnd.android.package-archive flg=0x10000001 cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageVerificationReceiver (has extras) }
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager others=11, false, false, false, false, false
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager }
2021/05/28 20:36:05.774 1167 1247 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620, tag: Verified(Unknown)
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager [VERIFY] setVerifierResponse {verificationID=11, uid=10244, code=1}
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager [VERIFY] sendOrderedBroadcastToPendingVerifier:
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager PackageVerificationState{
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager verifier packages=com.samsung.android.sm.devicesecurity(5012),
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager intent=Intent { act=android.intent.action.PACKAGE_NEEDS_VERIFICATION dat=file:///data/app/vmdl1887895024.tmp typ=application/vnd.android.package-archive flg=0x10000001 cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageVerificationReceiver (has extras) }
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager others=11, false, false, false, false, false
2021/05/28 20:36:05.774 1167 1247 Debug PackageManager }
2021/05/28 20:36:05.781 1167 1189 Debug PackageManager [VERIFY] verifyPendingInstall2(11, ALLOW), uid=5012
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager [VERIFY] PACKAGE_VERIFIED:
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager PackageVerificationState{
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager verifier packages=com.samsung.android.sm.devicesecurity(5012),
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager intent=Intent { act=com.samsung.android.intent.action.PACKAGE_NEEDS_VERIFICATION2 dat=file:///data/app/vmdl1887895024.tmp typ=application/vnd.android.package-archive flg=0x10000001 cmp=com.samsung.android.sm.devicesecurity/.AppVerificationReceiver (has extras) }
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager others=11, false, false, false, false, false
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager }
2021/05/28 20:36:05.781 1167 1247 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620, tag: Verified(Unknown)
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager [VERIFY] setVerifierResponse {verificationID=11, uid=5012, code=1}
2021/05/28 20:36:05.781 1167 1247 Debug PackageManager [VERIFY] packageVerificationCompletion: completed id=11
2021/05/28 20:36:05.783 1167 1167 Debug PackageManager [VERIFY] onReceive for RequiredVerifier id=11,mUid = 5012
2021/05/28 20:36:05.791 1167 1247 Warn PackageInstallTime updateInstallTimeInfo: invalid ObserverHash: 218092620, tag: Copy
2021/05/28 20:36:05.791 1167 1247 Warn PackageManager verifying app can be installed or not
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PKG WL - false
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PKG BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PERM BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking SIG BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PKG WL - false
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PKG BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking PERM BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : Checking SIG BL - true
2021/05/28 20:36:05.792 1167 1247 Debug ApplicationPolicy isApplicationInstallationEnabled : enabled true
2021/05/28 20:36:05.793 1167 1247 Warn PackageManager Package com.xx.Animals signatures do not match previously installed version; ignoring!
2021/05/28 20:36:05.808 1167 1247 Debug PackageManager result of install: -7{218092620}
2021/05/28 20:36:05.809 939 3705 Error installd Couldn’t opendir /data/app/vmdl1887895024.tmp: No such file or directory
2021/05/28 20:36:05.809 939 3705 Error installd Failed to delete /data/app/vmdl1887895024.tmp: No such file or directory
2021/05/28 20:36:05.809 1167 1247 Warn PackageInstallTime finishInstallTimeInfo(218092620): info not exist
2021/05/28 20:36:05.811 7865 7868 Info cmd oneway function results will be dropped but finished with status OK and parcel size 4



Hereby the Editor file

7187698–862264–Editor.txt (1.21 MB)

So I think this has something to do with the app already being published using the same bundle ID, even if I put it on release in the editor, it can’t overwrite.

Can you not just delete the app from your phone? Either long press on the icon, Uninstall. Or use adb uninstall. Typically I just Build to an APK on my local PC from Unity, then use “adb install mybuild35.apk” Also, when you have your phone connected via USB, ensure that you can run “adb devices”.

Yeah! I did, but the issue is that I can’t test out changes in the saving system regarding local files. Made it hard to test overwritten structural changes. Only way to test this was to have a clone of the project at an older date and an updated one and then constantly make 2 builds.

It’s not really an Unity issue I think though, just the way google manages apks/app bundles. I hope that the saving system works on Android since it did on IOS for me. App update is in review, will know soon!

I just wanted to update this thread in case someone had a similar issue. Thank you for the reply @JeffDUnity3D

Your users will be uninstalling and reinstalling, so you’ll need to test this scenario. Your save system should account for this. Note that Android auto-backup may have an impact here. Also some Android devices will clear local files, others not. That’s why many studios opt for cloud save.

@JeffDUnity3D yeah you are right, it’s much better to store it via a back end or cloud save. I just didn’t have the time/knowledge to do this yet.

So, the app got approved by google and apple. Overwriting went good on both platforms. Data stored in
Application.persistentDataPath was kept (in my case a json with player data as well as a bunch of other jsons). The 4 android devices I tested on had no bugs. The same for 2 ios devices and the player base didn’t mention a bug regarding this either. Feels like the bug was purely because it was released on the store and android didn’t like a build overwrite on an released version.

How exactly android overwrites is still a bit unclear to me, read an old post that they have an APK system which checks for changes and updates those only to save data. Also read that some people had issues with data and that it might be different depending on if the app was running(in memory) or not. I asked google for a bit more clarification(no response yet)

What specifically do you mean by “overwrite”? Do you mean your data stored in persistenDataPath? It’s not “overwritten”, it’s deleted upon reinstall in most cases.

What happens when a build is placed over another in the case of a store update. iOS and Android store update. The data/player progression was not deleted in both IOS and Android.

Got it. I wasn’t sure if you were talking about player save data or the game itself. Your logic might want to check for both scenarios for the save data, perhaps also write the app version into the data.