Closed AyoolaAjebeku-tomtom closed 5 months ago
Hello @AyoolaAjebeku-tomtom Thank you for bringing this issue to our attention! May I please ask you to check the following in your device:
Also, could you provide information, does this problem reproduce only on one device or on other devices too? And please check out the following issue: https://github.com/microsoft/appcenter-sdk-android/issues/1674
Hi @aleksandr-dorofeev
It is reproducible on other similar devices running Android 13.
@AyoolaAjebeku-tomtom Thanks for the information provided.
Could you elaborate more on the issue? In particular, what happens after the application is restarted, after the update has been downloaded? Also, if possible, could you provide verbose logs?
After the download is complete and I click update, the app doesn't restart at all.
The verbose logs:
18:05:49.514 D Resetting workflow on entering foreground.
18:05:49.766 D Resume distribute workflow...
18:05:49.766 I check: return. pkg=com.test.app isActivity=false callers=com.android.internal.policy.DecorView.setVisibility:4382 android.app.Dialog.hide:767 com.microsoft.appcenter.distribute.Distribute.A:28 com.microsoft.appcenter.distribute.Distribute.H:20 com.microsoft.appcenter.distribute.Distribute.y:362
18:05:49.766 D Show default update dialog.
18:05:49.800 V Already checking or checked latest release.
18:07:09.853 D Show new unknown sources dialog.
18:07:17.577 D Resetting workflow on entering foreground.
18:07:17.602 D Resume distribute workflow...
18:07:17.605 D Post notification permission already granted.
18:07:17.605 D Schedule download...
18:07:17.606 V Already checking or checked latest release.
18:07:17.609 D Start downloading new release from https://appcenter-filemanagement-xxxxxxx.azureedge.net/xxxxxxxxxx
18:07:17.709 D Start download 32.35.0 (5978) update.
18:09:45.416 V Receive broadcast action: android.intent.action.DOWNLOAD_COMPLETE
18:09:45.418 D Check download id=188
18:09:45.459 D Download was successful for id=188
18:09:45.488 I Start installing new release...
18:09:45.489 D Stored release details: group id=xxxxx release hash=xxxxxxxx release id=4172
18:09:45.493 D Trying to install update via PackageInstaller.
18:09:45.493 D Register receiver for installing a new release.
18:09:45.570 V The install session was created. sessionId=1594440017
18:09:47.993 V Installation progress: 80%. sessionId=1594440017
18:09:47.998 D Received BROADCAST intent 0xf3f2061 Key{broadcastIntent pkg=com.test.app intent=act=com.microsoft.appcenter.action.INSTALL_STATUS flags=0x2000000 u=0} requestCode=1594440017 sent=0 from uid 1000
18:09:47.999 V Receive broadcast action: com.microsoft.appcenter.action.INSTALL_STATUS
18:09:47.999 V android.content.pm.extra.STATUS: -1
18:09:47.999 V android.content.pm.extra.SESSION_ID: 1594440017
18:09:48.000 V android.intent.extra.INTENT: Intent { act=android.content.pm.action.CONFIRM_INSTALL pkg=com.google.android.packageinstaller (has extras) }
18:09:48.000 I Ask confirmation to install a new release.
18:09:48.005 I START u0 {flg=0x30010000 cmp=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity (has extras)} from uid 10485
18:09:48.028 I id=1032 createSurf flag=80004, ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}#1032
18:09:48.048 D Focused application(0): ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.089 W Unable to determine displayId for activity com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity@ce68b38
18:09:48.095 I id=1034 createSurf flag=80004, b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1034
18:09:48.097 D onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 2000, 1200), mDisplayCutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=0 displayHeight=0 physicalDisplayWidth=0 physicalDisplayHeight=0 density={0.0} cutoutSpec={} rotation={0} scale={0.0} physicalPixelDisplaySizeRatio={0.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=20, center=Point(20, 20)}, RoundedCorner{position=TopRight, radius=20, center=Point(1980, 20)}, RoundedCorner{position=BottomRight, radius=20, center=Point(1980, 1180)}, RoundedCorner{position=BottomLeft, radius=20, center=Point(20, 1180)}]} mRoundedCornerFrame=Rect(0, 0 - 2000, 1200), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(1934, 0 - 2000, 36) rotation=1}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[2000,0][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_EXTRA_NAVIGATION_BAR, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=true} } host=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity from=android.view.ViewRootImpl.setView:1722
18:09:48.099 D Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@51654a5, mPriority=0}
18:09:48.111 V Relayout Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: viewVisibility=0 req=2000x1200 d0
18:09:48.111 I id=1035 createSurf flag=40004, com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035
18:09:48.112 D makeSurface duration=1 name=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628
18:09:48.115 V Changing focus from null to Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6746 com.android.server.wm.WindowManagerService.relayoutWindow:2772 com.android.server.wm.Session.relayout:274
18:09:48.119 D onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 2000, 1200), mDisplayCutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=0 displayHeight=0 physicalDisplayWidth=0 physicalDisplayHeight=0 density={0.0} cutoutSpec={} rotation={0} scale={0.0} physicalPixelDisplaySizeRatio={0.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=20, center=Point(20, 20)}, RoundedCorner{position=TopRight, radius=20, center=Point(1980, 20)}, RoundedCorner{position=BottomRight, radius=20, center=Point(1980, 1180)}, RoundedCorner{position=BottomLeft, radius=20, center=Point(20, 1180)}]} mRoundedCornerFrame=Rect(0, 0 - 2000, 1200), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(1934, 0 - 2000, 36) rotation=1}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[2000,0][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][2000,36], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_IME, mFrame=[0,0][0,0], mVisible=false, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_EXTRA_NAVIGATION_BAR, mFrame=[0,1128][2000,1200], mVisible=true, mInsetsRoundedCornerFrame=true} } host=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity from=android.view.ViewRootImpl.relayoutWindow:9616
18:09:48.143 D [input] setFocusedWindow: b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
18:09:48.144 D Focus request (0): b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity but waiting because NOT_VISIBLE
18:09:48.152 D finishDrawingWindow: Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mDrawState=DRAW_PENDING seqId=0
18:09:48.156 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.157 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.170 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.171 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.173 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.173 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.184 V Changing focus from Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6746 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:5712 com.android.server.wm.TaskFragment.onActivityStateChanged:807
18:09:48.188 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.188 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.191 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.191 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.205 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.205 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.269 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.269 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.272 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.272 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.294 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.294 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.303 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.303 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.386 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.386 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.407 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.407 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.422 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.422 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.459 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.459 D performShow logReadyForDisplay win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} mToken.waitingToShow:true isTransitionSet:true
18:09:48.463 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:48.463 V performShowLocked: mDrawState=HAS_DRAWN in Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}
18:09:48.467 I id=1045 createSurf flag=80000, 5c48786 ActivityRecordInputSink com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1045
18:09:48.486 I Layer [com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035] hidden!! flag(0)
18:09:56.664 D Focused application(0): ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:56.665 V Changing focus from Window{e8b000b u0 com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity} to Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6746 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:5712 com.android.server.wm.TaskFragment.onActivityStateChanged:807
18:09:56.669 D updateSystemBarAttributes: displayId=0, win=Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}, navColorWin=Window{e8b000b u0 com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity}, focusedCanBeNavColorWin=false, behavior=1, appearance=0, statusBarAppearanceRegions=[AppearanceRegion{ bounds=[0,0][2000,1200]}], requestedVisibilities=, from=com.android.server.wm.DisplayPolicy.focusChangedLw:3191 com.android.server.wm.DisplayContent.updateFocusedWindowLocked:4568 com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585
18:09:56.678 V Release installer activity result=0
18:09:56.687 D mStartingWindow and mStartingData is null for token=ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} t123}
18:09:56.695 V Changing focus from Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity} to Window{2a13bdc u0 com.test.app/com.test.app.MainActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6746 com.android.server.wm.DisplayContent.layoutAndAssignWindowLayersIfNeeded:4730 com.android.server.wm.TaskDisplayArea.positionChildTaskAt:587
18:09:56.717 D [input] setFocusedWindow: b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
18:09:56.717 D Focus entered window (0): b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
18:09:56.731 V Setting visibility of Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1236 com.android.server.wm.WindowToken.setClientVisible:431 com.android.server.wm.ActivityRecord.setClientVisible:7575 com.android.server.wm.ActivityRecord.onAnimationFinished:8433 com.android.server.wm.ActivityRecord.postApplyAnimation:6155
18:09:56.733 D Focus left window (0): b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
18:09:56.762 I Layer [com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035] hidden!! flag(1)
18:09:56.834 V Relayout Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: viewVisibility=8 req=2000x1200 d0
18:09:56.843 D WindowStopped on com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity set to true
18:09:56.846 W Unable to determine displayId for activity com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity@ce68b38
18:09:56.848 D Window{b141b6e u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: Setting back callback null
18:09:56.850 W Input channel object 'b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity (client)' was disposed without first being removed with the input manager!
18:09:56.850 I Destroying surface Surface(name=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628)/@0x6be57ec called by com.android.server.wm.WindowStateAnimator.destroySurface:907 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:519 com.android.server.wm.WindowState.removeImmediately:2962 com.android.server.wm.WindowState.removeIfPossible:3206 com.android.server.wm.WindowState.removeIfPossible:3033 com.android.server.wm.WindowManagerService.removeWindow:2241 com.android.server.wm.Session.remove:236 android.view.IWindowSession$Stub.onTransact:743
18:09:56.855 I id=1045 Removed 5c48786 ActivityRecordInputSink com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1045 (123)
18:09:56.862 I id=1035 removeFromCurrentState com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035 (124)
18:09:56.862 I id=1034 removeFromCurrentState b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1034 (124)
18:09:56.863 I id=1032 removeFromCurrentState ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}#1032 (124)
18:09:56.863 I id=1045 removeFromCurrentState 5c48786 ActivityRecordInputSink com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1045 (124)
18:09:56.863 I id=1032 Removed ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}#1032 (124)
18:09:56.863 I id=1035 Removed com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035 (124)
18:09:56.863 I id=1034 Removed b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1034 (124)
18:09:56.864 I id=1032 Destroyed ActivityRecord{8d19612 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}#1032
18:09:56.864 I id=1034 Destroyed b141b6e com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1034
18:09:56.864 I id=1035 Destroyed com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_21628#1035
18:09:56.864 I id=1045 Destroyed 5c48786 ActivityRecordInputSink com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity#1045
18:09:57.003 I task1 - id : 123 cn : ComponentInfo{com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}
18:09:57.680 D Installation cancelled.
18:09:57.686 D Complete current updating process.
18:09:57.689 D Unregister receiver for installing a new release.
18:09:57.694 D Abandon PackageInstaller session.
18:09:58.676 D Received BROADCAST intent 0xf3f2061 Key{broadcastIntent pkg=com.test.app intent=act=com.microsoft.appcenter.action.INSTALL_STATUS flags=0x2000000 u=0} requestCode=1594440017 sent=0 from uid 1000
Hello @AyoolaAjebeku-tomtom , judging by the logs, the update installation is cancelled. This can happen as a result of user intervention, such as clicking me in a modal window or clicking the cancel installation button. If this does not happen, then perhaps the problem lies in the update package itself. Please make sure the update you are downloading is compatible with your current application and operating system. There may be application version compatibility issues, dependency compatibility issues, or simple bugs in the application. For example, you can try to create a small update with a difference, for example, in some line and try to test it.
Hi @MikhailSuendukov, sorry for the late response. None of the scenarios you describe applies to the app. It updates successfully via manual APK installation.
I'm also facing the same issue. For detail, I create 1 environment is named "beta" for internal testing and automatically notify when having a new beta test version, the notification dialog is successfully display, successfully download but can not install updated version (error message: failed to install app). Please help me to resolve that, many thanks in advance
Android
app/src/main
5.0.0
@datnt8718 Does manual APK installation (update) work?
Hi @MikhailSuendukov, @AyoolaAjebeku-tomtom! Just to add, the tablet pretends it is downloading the update, i.e. it shows the download status in the status bar. However, I could not find the downloaded installation file on the tablet, and there is no impact on the storage (i.e. the amount of free storage is the same before and after the download).
@datnt8718 Does manual APK installation (update) work?
@AyoolaAjebeku-tomtom yes, It work if I download manually from AppCenter, just only fail with automatic update (click the Download
button)
Unfortunately, I was unable to reproduce this error on a tablet with the Android 13 operating system. A small demo project on which this error is reproduced would be very helpful in identifying the error.
Also, did you try to update appcenter-android-sdk to the latest version?
@MikhailSuendukov The app is running on the latest appcenter version. I'm beginning to suspect that the problem could be the APK size, it is about 200MB, but not certain yet.
It is quite difficult to produce a demo project due to legalities and all that (Btw, another project which uses a streamlined version of the app, updates successfully via appcenter distribute).
Additional Info:
ERROR: could not load root hash from incremental install
W/PackageParser( 5450): Unknown element under <manifest>: queries at /data/app/vmdl564742064.tmp/base.apk
More logs around the time from the Samsung device
5306-7416 WindowManager system_server I Destroying surface Surface(name=com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity$_22711)/@0x2e94e23 called by com.android.server.wm.WindowStateAnimator.destroySurface:942 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:536 com.android.server.wm.WindowState.removeImmediately:2969 com.android.server.wm.WindowState.removeIfPossible:3228 com.android.server.wm.WindowState.removeIfPossible:3041 com.android.server.wm.WindowManagerService.removeWindow:2282 com.android.server.wm.Session.remove:236 android.view.IWindowSession$Stub.onTransact:743
5306-7416 RestrictionPolicy system_server D isScreenCaptureEnabled : ret=true userId=0
5306-7416 WindowManager system_server V Nulling last startingData
5306-7416 CoreBackPreview system_server D Window{41b8822 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: Setting back callback null
5306-7418 WindowManager system_server V Remove Window{41b8822 u0 com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: mSurfaceController=Surface(name=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_23221)/@0x5371f20 mAnimatingExit=false mRemoveOnExit=false mHasSurface=true surfaceShowing=false animating=false app-animation=false mWillReplaceWindow=false mDisplayFrozen=false callers=com.android.server.wm.WindowState.removeIfPossible:3041 com.android.server.wm.WindowManagerService.removeWindow:2282 com.android.server.wm.Session.remove:236 android.view.IWindowSession$Stub.onTransact:743 com.android.server.wm.Session.onTransact:188 android.os.Binder.execTransactInternal:1316
5306-7418 WindowManager system_server I Destroying surface Surface(name=com.test.app/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity$_23221)/@0x5371f20 called by com.android.server.wm.WindowStateAnimator.destroySurface:942 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:536 com.android.server.wm.WindowState.removeImmediately:2969 com.android.server.wm.WindowState.removeIfPossible:3228 com.android.server.wm.WindowState.removeIfPossible:3041 com.android.server.wm.WindowManagerService.removeWindow:2282 com.android.server.wm.Session.remove:236 android.view.IWindowSession$Stub.onTransact:743
5306-7418 RestrictionPolicy system_server D isScreenCaptureEnabled : ret=true userId=0
5306-7418 WindowManager system_server V Nulling last startingData
5306-5325 ActivityManager system_server I Changes in 10110 2 to 16, 15 to 0
5306-5325 ProcessStats system_server W Tracking association SourceState{410abf0 com.sec.location.nsflp2/5013 BTopFgs #114768} whose proc state 2 is better than process ProcessState{ff28bc4 com.google.android.gms.persistent/10204 pkg=com.google.android.gms} proc state 3 (14 skipped)
5306-6247 ActivityMa...erformance system_server D AMP_release() ACT_RESUME
7345-8022 SDHMS:D com.sec.android.sdhms I SIOP:: AP:242 BAT:191 USB:0 CHG:237 WIFI:212 BLK:202
5306-5374 PackageManager system_server D isVerificationEnabled :: approvedInstaller : .*
5306-5374 PackageManager system_server D isVerificationEnabled :: installer policy contains *.
5306-5374 PackageManager system_server E ERROR: could not load root hash from incremental install
5306-5374 PackageManager system_server E Required verifier is null
5306-5374 PackageManager system_server D sendBroadcastAsUser. PACKAGE_INSTALL_STARTED
5306-5374 PackageManager system_server I Integrity check passed for file:///data/app/vmdl1715065105.tmp
5306-5373 ActivityTaskManager system_server D SafeActivityOptions created, mOriginalCallingPid=5306, mOriginalCallingUid=1000, options=null, caller=com.android.server.am.PendingIntentRecord.sendInner:471 com.android.server.am.ActivityManagerService.sendIntentSender:6557 com.android.server.am.ActivityManagerService.sendIntentSender:6546 android.content.IntentSender.sendIntent:197 android.content.IntentSender.sendIntent:161 com.android.server.pm.PackageInstallerSession.sendOnPackageInstalled:4843 com.android.server.pm.PackageInstallerSession.-$$Nest$smsendOnPackageInstalled:0
5306-5373 ActivityManager system_server D Received BROADCAST intent 0xaa3a740 Key{broadcastIntent pkg=com.test.app intent=act=com.microsoft.appcenter.action.INSTALL_STATUS flags=0x2000000 u=0} requestCode=1715065105 sent=0 from uid 1000
4622-4622 io_stats iod D !@ 8,0 r 2055918 69698320 w 1104111 107951532 d 0 0 f 0 0 iot 1006736 0 th 0 0 0 pt 0 inp 0 0 187438.239
5306-5354 PowerManagerService system_server D UserActivityStateListenerState: 0
@AyoolaAjebeku-tomtom Thanks for the additional information! Unfortunately we were unable to reproduce this behavior on our side using a 250mb apk file. In any case, we will continue to reproduce the error in other ways, but if this does not work, then it will be difficult to solve this problem without a sample app.
Hi @AyoolaAjebeku-tomtom Apparently this problem may be that sometimes the installation can be delayed after the set delay of 1 second (CANCEL_TIMEOUT) if there is no installation progress, it is canceled. Could you please test this option on your project? To do this, you need to connect the AppCenter packages as a subproject to your application and change the timeout value here. This will greatly help us to localize the problem. Could you please test this case in this way?
Hi @MikhailSuendukov, increasing the cancel_timeout fixes the issue indeed. I had to increase it to more than 1 minute for it to work.
@AyoolaAjebeku-tomtom Sorry for the long wait, we are now discussing a solution to this problem, thank you very much for your help in localizing the error. As soon as there is new information, I will post it here.
I'm also facing the same issue. For detail, I create 1 environment is named "beta" for internal testing and automatically notify when having a new beta test version, the notification dialog is successfully display, successfully download but can not install updated version (error message: failed to install app). Please help me to resolve that, many thanks in advance
- Platform:
Android
- The manifest file is located in correct path:
app/src/main
- AppCenter sdk version:
5.0.0
Hi folks, so do you have any idea for this case?
Have just seen the update from contributors but still leave my message here to get update. Many thanks.
Hi @datnt8718 , could you please provide us with your verbose logs of error and steps for reproducing this error.
hi @MikhailSuendukov , I'd like to reproduce the error:
Environment: I set a beta
environment for internal testing once having a new beta release version update on AppCenter
Download
button to downloadLog when I get the error
Images
Hope it help you, many thanks
Could you please attach the verbose AppCenter logs and clarify if this has happened before and what version of the AppCenter Android SDK you are using? This would greatly help in localizing the error.
@MikhailSuendukov Any updates?
We are tracking this issue on our board, but unfortunately we can't provide any ETA at this moment.
Also seeing this issue on Andrdoid 13.
Hi @madrzak , could you please add details about your issue?
It would be great if we could could get an update here? As for now we've added a patch and locally published. Unfortunately we see more and more complaints about people not being able to update (blank screens when trying to login).
So we would like to be able to update the SDK to see if something has been fixed for that, without the need to apply the patch again.
Hi @StefanMarchal-TomTom , can you confirm that you have the same repro steps as described on the issue? Does it happen on all android versions or only specific, eg >= android 13?
May I ask you to perform the actions asked here https://github.com/microsoft/appcenter-sdk-android/issues/1680/#issuecomment-1517853607:
Hi @AyoolaAjebeku-tomtom Apparently this problem may be that sometimes the installation can be delayed after the set delay of 1 second (CANCEL_TIMEOUT) if there is no installation progress, it is canceled. Could you please test this option on your project? To do this, you need to connect the AppCenter packages as a subproject to your application and change the timeout value here. This will greatly help us to localize the problem. Could you please test this case in this way?
, and let us know if that helped you?
@DmitriyKirakosyan Ayoola made the change on our project and that seems to be working for this issue. But as it now is a self published dependency we're not able to update to the latest. It would be great that this get fixed on app center side, so that we can get rid of the locally published dependency and use app center releases again.
@StefanMarchal-TomTom , thank you for the update. In the latest SDK version we added logging for this scenario, if in-app updating fails due to the timeout. I would like to have more people reporting this issue and confirming they can see this log in their app logs:
Canceling installation due to lack of progress.
@madrzak , @datnt8718 , @AntonStepanov-TomTom could you verify you can see this log when reproducing the issue using the AppCenter Android SDK 5.0.2?
Same issue on Android 11.
The problem needs to be resolved in the latest version. After thorough testing of all available AppCenter SDK versions, I found that the minimum functional version is 4.3.1. For more information, you can check the release history on this page: https://github.com/Microsoft/AppCenter-SDK-Android/releases.
@LennonReid, can you provide the verbose logs from your sdk (ensure you're on the latest version, 5.0.3) when the update fails? Also, how big is your apk?
@DmitriyKirakosyan, I appreciate your attention. I attempted to utilize the most recent version but encountered the error "Failed to resolve: com.microsoft.appcenter:appcenter-analytics:5.0.3" when I clicked the "Sync Project with Gradle Files" button in Android Studio.
Consequently, I reverted to using version 5.0.2. I noticed that there was no automatic check for the latest version in the Logcat terminal when I followed the guide. The API call occurred only after I added the line Distribute.checkForUpdate();
following the line AppCenter.start(getApplication(), "{Your App Secret}", Analytics.class, Crashes.class);
in my MainActivity file.
However, there were no installation instructions provided after confirming the upgrade and completing the download process.
To reproduce the issue, please follow these steps:
For additional project details, you can refer to this repository: https://github.com/LennonReid/ionic-demo-for-appCenter.
Btw, my APK file is under 6MB in size.
Hi @LennonReid I attempted to reproduce the issue using the steps you provided. In doing so, I downloaded a new version of the app and received a prompt to install it. Upon choosing to install, I encountered a warning about the update's questionable origin. I proceeded with the installation anyway. Subsequently, the app closed, and I received a notification indicating the app had been updated. Tapping on this notification relaunched the app. I conducted this test on an Android v11 simulator. Could you specify the target where you're experiencing the problem?
Hi @MikhailSuendukov, thank you for your attention to this matter. As shown in my test device configuration above, I tested the app on an Android v11 physical device. After the download process was completed, nothing happened on my device. The app was expected to upgrade automatically, but instead, an error was shown in the Logcat.
The problem may lie in the restrictions installed on your device. Have you tried to reproduce this error on another device? You can also try double-checking the permissions on your device and making sure that installation from untrusted sources is allowed.
I tested it on an Android v11 simulator and reproduced this issue. Here is the device info
This is the properties info
Properties
avd.ini.displayname Pixel 3 API 32
avd.ini.encoding UTF-8
AvdId Pixel_3_API_32
disk.dataPartition.size 6G
fastboot.chosenSnapshotFile
fastboot.forceChosenSnapshotBoot no
fastboot.forceColdBoot no
fastboot.forceFastBoot yes
hw.accelerometer yes
hw.arc false
hw.audioInput yes
hw.battery yes
hw.camera.back virtualscene
hw.camera.front emulated
hw.cpu.ncore 4
hw.device.hash2 MD5:8a60718609e0741c7c0cc225f49c5590
hw.device.manufacturer Google
hw.device.name pixel_3
hw.dPad no
hw.gps yes
hw.gpu.enabled yes
hw.gpu.mode auto
hw.initialOrientation Portrait
hw.keyboard yes
hw.lcd.density 440
hw.lcd.height 2160
hw.lcd.width 1080
hw.mainKeys no
hw.ramSize 1536
hw.sdCard yes
hw.sensors.orientation yes
hw.sensors.proximity yes
hw.trackBall no
image.androidVersion.api 30
image.sysdir.1 system-images/android-30/google_apis/arm64-v8a/
PlayStore.enabled false
runtime.network.latency none
runtime.network.speed full
showDeviceFrame yes
skin.dynamic yes
tag.display Google APIs
tag.id google_apis
vm.heapSize 16
You can also try double-checking the permissions on your device and making sure that installation from untrusted sources is allowed.
I enabled installing apps from untrusted sources before launching this application.
Hello, judging by the comparison of your simulator with mine, your simulator has a smaller heap size, perhaps other differences play a role. But I was unable to reproduce your error on either the 32 API or the 30 API.
Properties
avd.ini.displayname Pixel 3 API 32
avd.ini.encoding UTF-8
AvdId Pixel_3_API_32
disk.dataPartition.size 6G
fastboot.chosenSnapshotFile
fastboot.forceChosenSnapshotBoot no
fastboot.forceColdBoot no
fastboot.forceFastBoot yes
hw.accelerometer yes
hw.arc false
hw.audioInput yes
hw.battery yes
hw.camera.back virtualscene
hw.camera.front emulated
hw.cpu.ncore 4
hw.device.hash2 MD5:8a60718609e0741c7c0cc225f49c5590
hw.device.manufacturer Google
hw.device.name pixel_3
hw.dPad no
hw.gps yes
hw.gpu.enabled yes
hw.gpu.mode auto
hw.initialOrientation Portrait
hw.keyboard yes
hw.lcd.density 440
hw.lcd.height 2160
hw.lcd.width 1080
hw.mainKeys no
hw.ramSize 1536
hw.sdCard yes
hw.sensors.orientation yes
hw.sensors.proximity yes
hw.trackBall no
image.androidVersion.api 30
image.sysdir.1 system-images/android-30/google_apis/arm64-v8a/
PlayStore.enabled false
runtime.network.latency none
runtime.network.speed full
showDeviceFrame yes
skin.dynamic yes
tag.display Google APIs
tag.id google_apis
vm.heapSize 16
Also, for a more detailed analysis of your problem, it would be useful to get full logs of your run with an error.
Thank you for your understanding and continuous attention, @MikhailSuendukov. Here is the Logcat log, capturing events from the app's launch to the point where the upgrade failure information is encountered on the emulator device, as mentioned earlier. Your patience is greatly appreciated.
2023-11-12 22:38:54.187 3586-4717 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
---------------------------- PROCESS ENDED (3679) for package io.ionic.starter ----------------------------
---------------------------- PROCESS ENDED (3586) for package io.ionic.starter ----------------------------
---------------------------- PROCESS STARTED (4901) for package io.ionic.starter ----------------------------
2023-11-12 22:39:13.530 4901-4901 NetworkSecurityConfig io.ionic.starter D No Network Security Config specified, using platform default
2023-11-12 22:39:13.530 4901-4901 NetworkSecurityConfig io.ionic.starter D No Network Security Config specified, using platform default
2023-11-12 22:39:13.547 4901-4926 libEGL io.ionic.starter D loaded /vendor/lib64/egl/libEGL_emulation.so
2023-11-12 22:39:13.547 4901-4926 libEGL io.ionic.starter D loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2023-11-12 22:39:13.548 4901-4926 libEGL io.ionic.starter D loaded /vendor/lib64/egl/libGLESv2_emulation.so
2023-11-12 22:39:13.550 4901-4901 AppCompatDelegate io.ionic.starter D Checking for metadata for AppLocalesMetadataHolderService : Service not found
2023-11-12 22:39:13.577 4901-4901 WebViewFactory io.ionic.starter I Loading com.google.android.webview version 91.0.4472.114 (code 447211484)
2023-11-12 22:39:13.582 4901-4901 o.ionic.starte io.ionic.starter I The ClassLoaderContext is a special shared library.
2023-11-12 22:39:13.583 4901-4901 nativeloader io.ionic.starter D classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle64/lib/arm64:/product/app/WebViewGoogle64/WebViewGoogle64.apk!/lib/arm64-v8a:/product/app/TrichromeLibrary64/TrichromeLibrary64.apk!/lib/arm64-v8a:/product/lib64:/system/product/lib64
2023-11-12 22:39:13.591 4901-4901 o.ionic.starte io.ionic.starter I The ClassLoaderContext is a special shared library.
2023-11-12 22:39:13.592 4901-4901 nativeloader io.ionic.starter D classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle64/lib/arm64:/product/app/WebViewGoogle64/WebViewGoogle64.apk!/lib/arm64-v8a:/product/app/TrichromeLibrary64/TrichromeLibrary64.apk!/lib/arm64-v8a:/product/lib64:/system/product/lib64
2023-11-12 22:39:13.649 4901-4930 cr_VariationsUtils io.ionic.starter I Failed reading seed file "/data/user/0/io.ionic.starter/app_webview/variations_seed_new"
2023-11-12 22:39:13.649 4901-4930 cr_VariationsUtils io.ionic.starter I Failed reading seed file "/data/user/0/io.ionic.starter/app_webview/variations_seed"
2023-11-12 22:39:13.655 4901-4901 cr_LibraryLoader io.ionic.starter I Loaded native library version number "91.0.4472.114"
2023-11-12 22:39:13.655 4901-4901 cr_CachingUmaRecorder io.ionic.starter I Flushed 6 samples from 6 histograms.
2023-11-12 22:39:13.659 4901-4901 TetheringManager io.ionic.starter I registerTetheringEventCallback:io.ionic.starter
---------------------------- PROCESS STARTED (4934) for package io.ionic.starter ----------------------------
2023-11-12 22:39:13.739 4934-4934 NetworkSecurityConfig io.ionic.starter D No Network Security Config specified, using platform default
2023-11-12 22:39:13.740 4934-4934 NetworkSecurityConfig io.ionic.starter D No Network Security Config specified, using platform default
2023-11-12 22:39:13.742 4934-4934 cr_ChildProcessService io.ionic.starter I Creating new ChildProcessService pid=4934
2023-11-12 22:39:13.854 4901-4901 Capacitor io.ionic.starter D Starting BridgeActivity
2023-11-12 22:39:13.870 4901-4963 cr_media io.ionic.starter W Requires BLUETOOTH permission
2023-11-12 22:39:13.909 4901-4975 HostConnection io.ionic.starter D HostConnection::get() New Host Connection established 0xb400007c38c6a650, tid 4975
2023-11-12 22:39:13.912 4901-4975 HostConnection io.ionic.starter D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-11-12 22:39:13.916 4901-4975 EGL_emulation io.ionic.starter D eglCreateContext: 0xb400007c28c8a3c0: maj 3 min 0 rcv 3
2023-11-12 22:39:13.916 4901-4975 EGL_emulation io.ionic.starter D eglMakeCurrent: 0xb400007c28c8a3c0: ver 3 0 (tinfo 0xb400007bc8cc4db0) (first time)
2023-11-12 22:39:13.924 4934-4953 cr_LibraryLoader io.ionic.starter I Loaded native library version number "91.0.4472.114"
2023-11-12 22:39:13.924 4934-4953 cr_CachingUmaRecorder io.ionic.starter I Flushed 1 samples from 1 histograms.
2023-11-12 22:39:13.933 4934-4953 SystemServiceRegistry io.ionic.starter W No service published for: uimode
2023-11-12 22:39:13.949 4901-4975 EGL_emulation io.ionic.starter D eglCreateContext: 0xb400007c28c8a3c0: maj 3 min 0 rcv 3
2023-11-12 22:39:13.962 4901-4924 HostConnection io.ionic.starter D HostConnection::get() New Host Connection established 0xb400007c38c6d290, tid 4924
2023-11-12 22:39:13.964 4901-4924 HostConnection io.ionic.starter D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-11-12 22:39:13.965 4901-4924 OpenGLRenderer io.ionic.starter W Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2023-11-12 22:39:13.965 4901-4924 EGL_emulation io.ionic.starter D eglCreateContext: 0xb400007c28c8bb20: maj 3 min 0 rcv 3
2023-11-12 22:39:13.965 4901-4924 EGL_emulation io.ionic.starter D eglMakeCurrent: 0xb400007c28c8bb20: ver 3 0 (tinfo 0xb400007bc8cc6eb0) (first time)
2023-11-12 22:39:13.968 4901-4924 Gralloc4 io.ionic.starter I mapper 4.x is not supported
2023-11-12 22:39:13.968 4901-4924 HostConnection io.ionic.starter D createUnique: call
2023-11-12 22:39:13.969 4901-4924 HostConnection io.ionic.starter D HostConnection::get() New Host Connection established 0xb400007c38c698d0, tid 4924
2023-11-12 22:39:13.970 4901-4924 goldfish-address-space io.ionic.starter D allocate: Ask for block of size 0x100
2023-11-12 22:39:13.970 4901-4924 goldfish-address-space io.ionic.starter D allocate: ioctl allocate returned offset 0x1f3ff8000 size 0x8000
2023-11-12 22:39:13.975 4901-4924 HostConnection io.ionic.starter D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-11-12 22:39:13.998 4901-4975 EGL_emulation io.ionic.starter D eglCreateContext: 0xb400007c28c8b9c0: maj 3 min 0 rcv 3
2023-11-12 22:39:14.079 4901-4992 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=dbda981efc2fa6b4483744ec5d1f3792636ba65d0b1dddce0d33337af303810b'
2023-11-12 22:39:16.922 4901-4992 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:39:19.253 4901-4924 OpenGLRenderer io.ionic.starter D endAllActiveAnimators on 0xb400007ca8c91a20 (RippleDrawable) with handle 0xb400007bc8ca2460
2023-11-12 22:39:19.579 4901-5027 ProfileInstaller io.ionic.starter D Skipping profile installation for io.ionic.starter
2023-11-12 22:39:19.954 4901-5004 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:39:29.334 4901-4901 Compatibil...geReporter io.ionic.starter D Compat change id reported: 147798919; UID 10167; state: ENABLED
2023-11-12 22:39:36.502 4901-5004 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
Here is the Logcat information captured while running the app on my physical device.
2023-11-12 22:53:01.329 5118-6309 SuggestManager com.miui.securitycenter.remote E openApp name = io.ionic.starter
2023-11-12 22:53:01.379 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
---------------------------- PROCESS STARTED (8005) for package io.ionic.starter ----------------------------
2023-11-12 22:53:02.857 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:04.798 8005-8005 MiuiFrameworkFactory io.ionic.starter V get AllImpl object = android.common.MiuiFrameworkFactoryImpl@22f1faa
2023-11-12 22:53:04.908 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:04.948 8005-8036 OpenGLRenderer io.ionic.starter D endAllActiveAnimators on 0xb400007cb6479900 (RippleDrawable) with handle 0xb400007d2c0186e0
2023-11-12 22:53:06.647 8005-8005 Timeline io.ionic.starter I Timeline: Activity_launch_request time:416191382
2023-11-12 22:53:06.662 8005-8036 OpenGLRenderer io.ionic.starter D endAllActiveAnimators on 0xb400007d2c914500 (RippleDrawable) with handle 0xb400007d2c018e40
2023-11-12 22:53:06.784 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
2023-11-12 22:53:07.645 8005-8185 ProfileInstaller io.ionic.starter D Installing profile for io.ionic.starter
2023-11-12 22:53:07.911 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:08.289 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
2023-11-12 22:53:09.401 8005-8033 o.ionic.starte io.ionic.starter I ProcessProfilingInfo new_methods=1815 is saved saved_to_disk=1 resolve_classes_delay=8000
2023-11-12 22:53:12.381 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:13.123 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:14.411 8005-8129 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:21.518 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
---------------------------- PROCESS ENDED (8005) for package io.ionic.starter ----------------------------
2023-11-12 22:53:22.275 5118-6309 SuggestManager com.miui.securitycenter.remote E openApp name = io.ionic.starter
2023-11-12 22:53:22.323 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
---------------------------- PROCESS STARTED (8275) for package io.ionic.starter ----------------------------
2023-11-12 22:53:24.542 8275-8275 MiuiFrameworkFactory io.ionic.starter V get AllImpl object = android.common.MiuiFrameworkFactoryImpl@8fa3295
2023-11-12 22:53:24.662 8275-8298 OpenGLRenderer io.ionic.starter D endAllActiveAnimators on 0xb400007ca8d6af00 (RippleDrawable) with handle 0xb400007d2c018240
2023-11-12 22:53:25.462 8275-8356 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:28.156 8275-8403 ProfileInstaller io.ionic.starter D Skipping profile installation for io.ionic.starter
2023-11-12 22:53:28.464 8275-8356 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:29.337 8275-8356 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:30.288 8275-8297 o.ionic.starte io.ionic.starter I ProcessProfilingInfo new_methods=146 is saved saved_to_disk=1 resolve_classes_delay=8000
2023-11-12 22:53:33.026 8275-8356 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:36.310 8275-8356 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:53:51.466 8275-8275 Timeline io.ionic.starter I Timeline: Activity_launch_request time:416236202
2023-11-12 22:53:51.483 8275-8303 ViewContentFactory io.ionic.starter D initViewContentFetcherClass
2023-11-12 22:53:51.483 8275-8303 ContentCatcher io.ionic.starter I ViewContentFetcher : ViewContentFetcher
2023-11-12 22:53:51.483 8275-8303 ViewContentFactory io.ionic.starter D createInterceptor took 0ms
2023-11-12 22:53:51.484 8275-8275 Timeline io.ionic.starter I Timeline: Activity_launch_request time:416236220
2023-11-12 22:53:51.586 5118-6309 SuggestManager com.miui.securitycenter.remote E openApp name = io.ionic.starter
2023-11-12 22:53:51.718 2927-3248 ActivityManagerWrapper com.miui.home E getRecentTasks: taskId=2789 userId=0 baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.ionic.starter/.MainActivity }
Hello, I apologize for not specifying what type of logs I need. I need all the AppCenter logs from the run of your application with this error reproduction.
Hello @MikhailSuendukov,thank you for your prompt response. I really appreciate you getting back to me so quickly. Here are the AppCenter logs. Let me know if you need any additional information. I'm happy to help in any way I can.
2023-11-13 23:03:49.146 22248-22248 AppCenter io.ionic.starter W App Center may only be configured once.
2023-11-13 23:03:49.146 22248-22324 AppCenterDistribute io.ionic.starter D Distribute workflow will be resumed on activity resume event.
2023-11-13 23:03:49.149 22248-22248 AppCenterDistribute io.ionic.starter D Resetting workflow on entering foreground.
2023-11-13 23:03:49.150 22248-22248 AppCenterDistribute io.ionic.starter D Resume distribute workflow...
2023-11-13 23:03:49.150 22248-22248 AppCenterDistribute io.ionic.starter I Get latest release details...
2023-11-13 23:03:49.150 22248-22324 AppCenterAnalytics io.ionic.starter D onActivityResumed
2023-11-13 23:03:49.150 22248-22324 AppCenterAnalytics io.ionic.starter D noLogSentForLong=true wasBackgroundForLong=true
2023-11-13 23:03:49.150 22248-22248 AppCenterDistribute io.ionic.starter D Check if we need to report release installation..
2023-11-13 23:03:49.150 22248-22248 AppCenterDistribute io.ionic.starter D New release was downloaded but not installed yet, skip reporting.
2023-11-13 23:03:49.151 22248-22324 AppCenter io.ionic.starter D Storing a log to the Persistence database for log type startSession with flags=1
2023-11-13 23:03:49.153 22248-27400 AppCenterDistribute io.ionic.starter V Calling https://api.appcenter.ms/v0.1/public/sdk/apps/****************************2e76e499/releases/latest?is_install_page=true&release_hash=9329cae68bca7204a213bea1bb05d59a12fd4d6ebeb2333c5d658fc8cfc9d6e8...
2023-11-13 23:03:49.153 22248-27400 AppCenterDistribute io.ionic.starter V Headers: {}
2023-11-13 23:03:49.154 22248-27400 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=9329cae68bca7204a213bea1bb05d59a12fd4d6ebeb2333c5d658fc8cfc9d6e8'
2023-11-13 23:03:49.156 22248-22324 AppCenter io.ionic.starter D Stored a log to the Persistence database for log type startSession with databaseId=27
2023-11-13 23:03:49.156 22248-22324 AppCenter io.ionic.starter D enqueue(group_analytics) pendingLogCount=4
2023-11-13 23:03:49.156 22248-22324 AppCenter io.ionic.starter D Channel is temporarily disabled, log was saved to disk.
2023-11-13 23:03:50.245 22248-27400 AppCenter io.ionic.starter V HTTP response status=200 payload={"app_name":"ionic-test","app_display_name":"ionic-test","app_os":"Android","app_icon_url":"https://appcenter-filemanagement-distrib1ede6f06e.azureedge.net/11bbb2e8-5e46-413c-a552-f749667ac274/u3.png?sv=2019-02-02&sr=c&sig=WelcIz1%2FCWDw8JFQ6YO4QdhId2DqecMsNapejvLV8eI%3D&se=2023-11-20T14%3A25%3A02Z&sp=r","release_notes_url":"https://install.appcenter.ms/users/lennonReid/apps/ionic-test/distribution_groups/Public","owner":{"name":"lennonReid","display_name":"Lennon Reid"},"is_external_build":false,"origin":"appcenter","id":8,"version":"6","short_version":"0.0.6","size":4222252,"min_os":"5.1","android_min_api_level":"22","device_family":null,"bundle_identifier":"io.ionic.starter","fingerprint":"e761f77b46ed81853ed56683789d9bf0","uploaded_at":"2023-11-13T14:25:00.455Z","download_url":"https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=z4L1EZmqI%2BKoQ3U1nKaVzbhlC1kkNrEbGJ5JB0X2ToI%3D&se=2023-11-14T14%3A52%3A56Z&sp=r","install_url":"https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=z4L1EZmqI%2BKoQ3U1nKaVzbhlC1kkNrEbGJ5JB0X2ToI%3D&se=2023-11-14T14%3A52%3A56Z&sp=r","mandatory_update":false,"enabled":true,"fileExtension":"apk","is_latest":true,"release_notes":"v0.0.6","can_resign":null,"package_hashes":["138725618e179e2efde5e5fdca8eac481860be2a85a27aadc444f33a23135170"],"destination_type":"group","status":"available","distribution_group_id":"fa643005-9860-4fd4-bee7-18583e42291a","distribution_groups":[{"id":"fa643005-9860-4fd4-bee7-18583e42291a","name":"Public","origin":"appcenter","display_name":"Public","is_public":true}]}
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Stored release hash doesn't match current installation, probably downloaded but not installed yet, keep in store
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Check if latest release is more recent.
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Latest release more recent=true
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Removing download and notification id=2812
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Latest release is more recent.
2023-11-13 23:03:50.246 22248-22248 AppCenterDistribute io.ionic.starter D Show default update dialog.
2023-11-13 23:03:53.618 22248-22248 AppCenterDistribute io.ionic.starter D There is no need to request permissions in runtime on Android earlier than 6.0.
2023-11-13 23:03:53.618 22248-22248 AppCenterDistribute io.ionic.starter D Schedule download...
2023-11-13 23:03:53.619 22248-30103 AppCenterDistribute io.ionic.starter D Start downloading new release from https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=z4L1EZmqI%2BKoQ3U1nKaVzbhlC1kkNrEbGJ5JB0X2ToI%3D&se=2023-11-14T14%3A52%3A56Z&sp=r
2023-11-13 23:03:53.654 22248-30103 AppCenterDistribute io.ionic.starter D Start download 0.0.6 (6) update.
2023-11-13 23:03:53.712 24847-30104 DownloadThread android.process.media D in runInternal, Download mId=2813 uri=https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=z4L1EZmqI%2BKoQ3U1nKaVzbhlC1kkNrEbGJ5JB0X2ToI%3D&se=2023-11-14T14%3A52%3A56Z&sp=r
2023-11-13 23:03:59.839 22248-22248 AppCenterDistribute io.ionic.starter V Receive broadcast action: android.intent.action.DOWNLOAD_COMPLETE
2023-11-13 23:03:59.839 22248-30103 AppCenterDistribute io.ionic.starter D Check download id=2813
2023-11-13 23:03:59.860 22248-30114 AppCenterDistribute io.ionic.starter D Download was successful for id=2813
2023-11-13 23:03:59.865 22248-22248 AppCenterDistribute io.ionic.starter I Start installing new release...
2023-11-13 23:03:59.865 22248-22248 AppCenterDistribute io.ionic.starter D Stored release details: group id=fa643005-9860-4fd4-bee7-18583e42291a release hash=138725618e179e2efde5e5fdca8eac481860be2a85a27aadc444f33a23135170 release id=8
2023-11-13 23:03:59.865 22248-22248 AppCenterDistribute io.ionic.starter D Trying to install update via PackageInstaller.
2023-11-13 23:03:59.865 22248-22248 AppCenterDistribute io.ionic.starter D Register receiver for installing a new release.
2023-11-13 23:03:59.877 22248-22248 AppCenterDistribute io.ionic.starter V The install session was created. sessionId=1380486471
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter V Installation progress: 80%. sessionId=1380486471
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter V Receive broadcast action: com.microsoft.appcenter.action.INSTALL_STATUS
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.STATUS: -1
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.SESSION_ID: 1380486471
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter V android.intent.extra.INTENT: Intent { act=android.content.pm.action.CONFIRM_INSTALL pkg=com.miui.packageinstaller (has extras) }
2023-11-13 23:03:59.921 22248-22248 AppCenterDistribute io.ionic.starter I Ask confirmation to install a new release.
2023-11-13 23:03:59.922 1638-2637 ActivityTaskManager system_server I START u0 {flg=0x30010000 cmp=io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity (has extras)} from uid 10507
2023-11-13 23:03:59.932 22248-22324 AppCenterAnalytics io.ionic.starter D onActivityPaused
2023-11-13 23:03:59.954 22248-22324 AppCenterAnalytics io.ionic.starter D onActivityResumed
2023-11-13 23:03:59.954 22248-22324 AppCenterAnalytics io.ionic.starter D noLogSentForLong=false wasBackgroundForLong=false
2023-11-13 23:03:59.962 32690-32715 AppUpdateXmsfLauncher com.xiaomi.xmsf D activityResumed intent : Intent { cmp=io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity (has extras) }
2023-11-13 23:03:59.962 2927-2927 RecentsImpl com.miui.home D mActivityStateObserver com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
2023-11-13 23:03:59.962 2927-2927 RecentsImpl com.miui.home W onResumed className=com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity mIsInAnotherPro=false isKeyguardLocked=false
2023-11-13 23:03:59.962 24680-30085 VA_ActivityStateHelper com.miui.voiceassist I activityResumed componentName ComponentInfo{io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}
2023-11-13 23:03:59.962 22248-22324 AppCenterAnalytics io.ionic.starter D onActivityPaused
2023-11-13 23:04:00.031 1638-9159 Timeline system_server I Timeline: Activity_windows_visible id: ActivityRecord{fc6f6a u0 io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity t2865} time:434372906
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V The installation has been finished. sessionId=1380486471, success=false
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V Receive broadcast action: com.microsoft.appcenter.action.INSTALL_STATUS
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.STATUS: 3
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.PACKAGE_NAME: io.ionic.starter
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.SESSION_ID: 1380486471
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.LEGACY_STATUS: -115
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter V android.content.pm.extra.STATUS_MESSAGE: INSTALL_FAILED_ABORTED: User rejected permissions
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter D Installation cancelled.
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter D Complete current updating process.
2023-11-13 23:04:00.035 22248-22248 AppCenterDistribute io.ionic.starter D Unregister receiver for installing a new release.
2023-11-13 23:04:00.036 22248-22248 AppCenterDistribute io.ionic.starter V Release installer activity result=0
2023-11-13 23:04:00.036 1638-1800 ActivityTaskManager system_server I Displayed io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity: +70ms
2023-11-13 23:04:00.045 1638-3110 MIUIInput system_server D [FoucsChange]: Display 0 FocusedWindow From null(0,0) to Window{e9c80a4 mode=1 rootTaskId=2865 u0 io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}(1,1)
2023-11-13 23:04:00.059 32690-32715 AppUpdateXmsfLauncher com.xiaomi.xmsf D activityResumed intent : Intent { cmp=io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity (has extras) }
2023-11-13 23:04:00.059 24680-30085 VA_ActivityStateHelper com.miui.voiceassist I activityResumed componentName ComponentInfo{io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}
2023-11-13 23:04:00.060 2927-2927 RecentsImpl com.miui.home D mActivityStateObserver com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity
2023-11-13 23:04:00.061 2927-2927 RecentsImpl com.miui.home W onResumed className=com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity mIsInAnotherPro=false isKeyguardLocked=false
2023-11-13 23:04:00.074 1638-9159 MIUIInput system_server D [FoucsChange]: Display 0 FocusedWindow From Window{e9c80a4 mode=1 rootTaskId=2865 u0 io.ionic.starter/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}(1,1) to null(0,0)
2023-11-13 23:04:00.084 22248-22324 AppCenterAnalytics io.ionic.starter D onActivityResumed
2023-11-13 23:04:00.084 22248-22324 AppCenterAnalytics io.ionic.starter D noLogSentForLong=false wasBackgroundForLong=false
2023-11-13 23:04:01.036 22248-30115 AppCenterDistribute io.ionic.starter E Canceling installation due to lack of progress.
2023-11-13 23:04:01.036 22248-30115 AppCenterDistribute io.ionic.starter D Installation cancelled.
When submitting the issue report, I encountered the error message "INSTALL_FAILED_ABORTED: User rejected permissions."
After some research, I found a potential workaround on Stack Overflow(https://stackoverflow.com/questions/47239251/install-failed-user-restricted-android-studio-using-redmi-4-device)) suggesting turning off MIUI optimization in the Developer options. This resolved the installation failure.
The need to disable MIUI optimization seems to be new in the latest SDK version, as I did not have to do this with SDK v4.3.1. The older SDK appears to provide a smoother in-app upgrade experience without requiring the user to change device settings. I'm unsure why this change was introduced in the new SDK, but it has negatively impacted the user experience for installation and upgrades. I think reverting to the permissions behavior of v4.3.1 would provide a better overall experience. Please let me know if you have any insights on this or if I'm missing something in how the new SDK handles permissions. I'm happy to provide any other details that would be helpful.
Here is my emulator device log:
---------------------------- PROCESS STARTED (6918) for package io.ionic.starter ----------------------------
---------------------------- PROCESS STARTED (6953) for package io.ionic.starter ----------------------------
--------- beginning of system
--------- beginning of main
--------- beginning of kernel
2023-11-12 22:38:54.187 3586-4717 CapacitorCookies pid-3586 I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:39:14.079 4901-4992 CapacitorCookies pid-4901 I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=dbda981efc2fa6b4483744ec5d1f3792636ba65d0b1dddce0d33337af303810b'
2023-11-12 22:39:16.922 4901-4992 CapacitorCookies pid-4901 I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:39:19.954 4901-5004 CapacitorCookies pid-4901 I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 22:39:36.502 4901-5004 CapacitorCookies pid-4901 I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-12 23:10:54.736 4901-5004 CapacitorCookies pid-4901 I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=dbda981efc2fa6b4483744ec5d1f3792636ba65d0b1dddce0d33337af303810b'
2023-11-13 23:32:50.805 6918-7012 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=dbda981efc2fa6b4483744ec5d1f3792636ba65d0b1dddce0d33337af303810b'
2023-11-13 23:32:53.696 6918-7012 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-13 23:32:56.701 6918-7025 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-13 23:33:09.750 6918-7025 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
---------------------------- PROCESS ENDED (6953) for package io.ionic.starter ----------------------------
---------------------------- PROCESS ENDED (6918) for package io.ionic.starter ----------------------------
--------- beginning of crash
2023-11-13 23:33:39.883 556-595 ActivityManager system_server I Start proc 7673:io.ionic.starter/u0a167 for broadcast {io.ionic.starter/com.microsoft.appcenter.distribute.UpdateReceiver}
---------------------------- PROCESS STARTED (7673) for package io.ionic.starter ----------------------------
---------------------------- PROCESS STARTED (7791) for package io.ionic.starter ----------------------------
2023-11-13 23:33:41.979 7673-7673 AppCenter io.ionic.starter I App Center SDK configured successfully.
2023-11-13 23:33:41.980 7673-7673 AppCenter io.ionic.starter D Cannot read instrumentation variables in a non-test environment.
2023-11-13 23:33:41.980 7673-7673 AppCenter io.ionic.starter D Cannot read instrumentation variables in a non-test environment.
2023-11-13 23:33:41.983 7673-7835 AppCenter io.ionic.starter D Loaded stored sessions: {1699324262628=1699324262628//1699324262621, 1699324262800=1699324262800/47e18586-71de-4b32-be65-7100d0a07ba5/1699324262621, 1699799914062=1699799914062//1699799914060, 1699799914093=1699799914093/732839ef-5ade-40d6-aeb9-439c6d5a701d/1699799914060, 1699799953904=1699799953904//1699799953903, 1699799953935=1699799953935/067f0db2-88a1-49ae-ad5e-3e4dd1c945e0/1699799953903, 1699889570666=1699889570666//1699889570665, 1699889570690=1699889570690/446dc44e-f87f-44a8-a1bc-81f49f2c05b0/1699889570665}
2023-11-13 23:33:41.986 7673-7837 AppCenter io.ionic.starter D Network 100 is available.
2023-11-13 23:33:41.987 7673-7837 AppCenter io.ionic.starter D Network has been connected.
2023-11-13 23:33:41.990 7673-7835 AppCenter io.ionic.starter I Changed maximum database size to 10485760 bytes.
2023-11-13 23:33:41.990 7673-7835 AppCenter io.ionic.starter D addGroup(group_core)
2023-11-13 23:33:41.996 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_core) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.005 7673-7835 AppCenter io.ionic.starter D App Center initialized.
2023-11-13 23:33:42.005 7673-7835 AppCenter io.ionic.starter D removeGroup(group_analytics)
2023-11-13 23:33:42.005 7673-7835 AppCenter io.ionic.starter D removeGroup(group_analytics/one)
2023-11-13 23:33:42.005 7673-7835 AppCenter io.ionic.starter D addGroup(group_analytics)
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics) pendingLogCount=0 batchTimeInterval=6000
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D The timer for group_analytics channel finished.
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D addGroup(group_analytics/one)
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics/one) pendingLogCount=0 batchTimeInterval=6000
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D The timer for group_analytics/one channel finished.
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D addGroup(group_analytics_critical)
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics_critical) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D addGroup(group_analytics_critical/one)
2023-11-13 23:33:42.006 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics_critical/one) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter I Analytics service started from application.
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D removeGroup(groupErrors)
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D removeGroup(groupErrors/one)
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D addGroup(groupErrors)
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(groupErrors) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D addGroup(groupErrors/one)
2023-11-13 23:33:42.007 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(groupErrors/one) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.008 7673-7835 AppCenterCrashes io.ionic.starter D No previous minidump sub-folders.
2023-11-13 23:33:42.018 7673-7835 AppCenter io.ionic.starter I Crashes service started from application.
2023-11-13 23:33:42.019 7673-7835 AppCenter io.ionic.starter D removeGroup(group_distribute)
2023-11-13 23:33:42.019 7673-7835 AppCenter io.ionic.starter D removeGroup(group_distribute/one)
2023-11-13 23:33:42.019 7673-7835 AppCenter io.ionic.starter D addGroup(group_distribute)
2023-11-13 23:33:42.020 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_distribute) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.020 7673-7835 AppCenter io.ionic.starter D addGroup(group_distribute/one)
2023-11-13 23:33:42.020 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_distribute/one) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:42.020 7673-7835 AppCenter io.ionic.starter I Distribute service started from application.
2023-11-13 23:33:42.037 7673-7835 AppCenter io.ionic.starter D Storing a log to the Persistence database for log type startService with flags=1
2023-11-13 23:33:42.055 7673-7835 AppCenter io.ionic.starter D Stored a log to the Persistence database for log type startService with databaseId=10
2023-11-13 23:33:42.055 7673-7835 AppCenter io.ionic.starter D enqueue(group_core) pendingLogCount=1
2023-11-13 23:33:42.055 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_core) pendingLogCount=1 batchTimeInterval=3000
2023-11-13 23:33:42.055 7673-7835 AppCenterAnalytics io.ionic.starter D onActivityResumed
2023-11-13 23:33:42.055 7673-7835 AppCenter io.ionic.starter D Storing a log to the Persistence database for log type startSession with flags=1
2023-11-13 23:33:42.066 7673-7835 AppCenter io.ionic.starter D Stored a log to the Persistence database for log type startSession with databaseId=11
2023-11-13 23:33:42.066 7673-7835 AppCenter io.ionic.starter D enqueue(group_analytics) pendingLogCount=1
2023-11-13 23:33:42.066 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics) pendingLogCount=1 batchTimeInterval=6000
2023-11-13 23:33:42.066 7673-7835 AppCenter io.ionic.starter D The timer value for group_analytics has been saved.
2023-11-13 23:33:42.134 7673-7673 AppCenterDistribute io.ionic.starter D InstallerPackageName=com.google.android.packageinstaller
2023-11-13 23:33:42.134 7673-7673 AppCenterDistribute io.ionic.starter D Resume distribute workflow...
2023-11-13 23:33:42.134 7673-7673 AppCenterDistribute io.ionic.starter I Get latest release details...
2023-11-13 23:33:42.135 7673-7673 AppCenterDistribute io.ionic.starter D Check if we need to report release installation..
2023-11-13 23:33:42.135 7673-7673 AppCenterDistribute io.ionic.starter D Current release was already reported, skip reporting.
2023-11-13 23:33:42.150 7673-7673 AppCenterDistribute io.ionic.starter D Resume distribute workflow...
2023-11-13 23:33:42.151 7673-7673 AppCenterDistribute io.ionic.starter V Already checking or checked latest release.
2023-11-13 23:33:42.157 7673-7850 AppCenterDistribute io.ionic.starter V Calling https://api.appcenter.ms/v0.1/public/sdk/apps/****************************2e76e499/releases/latest?is_install_page=true&release_hash=9329cae68bca7204a213bea1bb05d59a12fd4d6ebeb2333c5d658fc8cfc9d6e8...
2023-11-13 23:33:42.157 7673-7850 AppCenterDistribute io.ionic.starter V Headers: {}
2023-11-13 23:33:42.160 7673-7850 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://api.appcenter.ms/v0.1/public/sdk/apps/8140dfc4-2b47-4990-94f5-ebe12e76e499/releases/latest?is_install_page=true&release_hash=9329cae68bca7204a213bea1bb05d59a12fd4d6ebeb2333c5d658fc8cfc9d6e8'
2023-11-13 23:33:43.622 7673-7850 AppCenter io.ionic.starter V HTTP response status=200 payload={"app_name":"ionic-test","app_display_name":"ionic-test","app_os":"Android","app_icon_url":"https://appcenter-filemanagement-distrib1ede6f06e.azureedge.net/11bbb2e8-5e46-413c-a552-f749667ac274/u3.png?sv=2019-02-02&sr=c&sig=WelcIz1%2FCWDw8JFQ6YO4QdhId2DqecMsNapejvLV8eI%3D&se=2023-11-20T14%3A25%3A02Z&sp=r","release_notes_url":"https://install.appcenter.ms/users/lennonReid/apps/ionic-test/distribution_groups/Public","owner":{"name":"lennonReid","display_name":"Lennon Reid"},"is_external_build":false,"origin":"appcenter","id":8,"version":"6","short_version":"0.0.6","size":4222252,"min_os":"5.1","android_min_api_level":"22","device_family":null,"bundle_identifier":"io.ionic.starter","fingerprint":"e761f77b46ed81853ed56683789d9bf0","uploaded_at":"2023-11-13T14:25:00.455Z","download_url":"https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=zf0QvSoH5G8TjWMoY9wgV%2FeUZtBkL%2BvdSlLSdC8Wms0%3D&se=2023-11-14T15%3A33%3A44Z&sp=r","install_url":"https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=zf0QvSoH5G8TjWMoY9wgV%2FeUZtBkL%2BvdSlLSdC8Wms0%3D&se=2023-11-14T15%3A33%3A44Z&sp=r","mandatory_update":false,"enabled":true,"fileExtension":"apk","is_latest":true,"release_notes":"v0.0.6","can_resign":null,"package_hashes":["138725618e179e2efde5e5fdca8eac481860be2a85a27aadc444f33a23135170"],"destination_type":"group","status":"available","distribution_group_id":"fa643005-9860-4fd4-bee7-18583e42291a","distribution_groups":[{"id":"fa643005-9860-4fd4-bee7-18583e42291a","name":"Public","origin":"appcenter","display_name":"Public","is_public":true}]}
2023-11-13 23:33:43.625 7673-7673 AppCenterDistribute io.ionic.starter D Check if latest release is more recent.
2023-11-13 23:33:43.625 7673-7673 AppCenterDistribute io.ionic.starter D Latest release more recent=true
2023-11-13 23:33:43.625 7673-7673 AppCenterDistribute io.ionic.starter D Latest release is more recent.
2023-11-13 23:33:43.625 7673-7673 AppCenterDistribute io.ionic.starter D Show default update dialog.
2023-11-13 23:33:45.058 7673-7835 AppCenter io.ionic.starter D triggerIngestion(group_core) pendingLogCount=1
2023-11-13 23:33:45.058 7673-7835 AppCenter io.ionic.starter D Trying to get 1 logs from the Persistence database for group_core
2023-11-13 23:33:45.059 7673-7835 AppCenter io.ionic.starter D Returning 1 log(s) with an ID, 08aa2875-ba41-4fab-8d0d-e51e30e29851
2023-11-13 23:33:45.059 7673-7835 AppCenter io.ionic.starter D The SID/ID pairs for returning log(s) is/are:
2023-11-13 23:33:45.059 7673-7835 AppCenter io.ionic.starter D null / 10
2023-11-13 23:33:45.059 7673-7835 AppCenter io.ionic.starter D ingestLogs(group_core,08aa2875-ba41-4fab-8d0d-e51e30e29851) pendingLogCount=0
2023-11-13 23:33:45.059 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_core) pendingLogCount=0 batchTimeInterval=3000
2023-11-13 23:33:45.059 7673-7850 AppCenter io.ionic.starter V Calling https://in.appcenter.ms/logs?api-version=1.0.0...
2023-11-13 23:33:45.059 7673-7850 AppCenter io.ionic.starter V Headers: {Install-ID=6a4611e7-66f7-45fa-9de8-570a834f0f04, App-Secret=****************************2e76e499, Content-Type=application/json}
2023-11-13 23:33:45.059 7673-7850 AppCenter io.ionic.starter V {
"logs": [
{
"type": "startService",
"timestamp": "2023-11-13T15:33:42.036Z",
"distributionGroupId": "fa643005-9860-4fd4-bee7-18583e42291a",
"device": {
"sdkName": "appcenter.android",
"sdkVersion": "5.0.2",
"model": "sdk_gphone_arm64",
"oemName": "Google",
"osName": "Android",
"osVersion": "11",
"osBuild": "RSR1.210722.013.A6",
"osApiLevel": 30,
"locale": "en_US",
"timeZoneOffset": 480,
"screenSize": "1080x2028",
"appVersion": "0.0.5",
"carrierName": "Android",
"carrierCountry": "us",
"appBuild": "5",
"appNamespace": "io.ionic.starter"
},
"services": [
"Analytics",
"Crashes",
"Distribute"
],
"isOneCollectorEnabled": false
}
]
}
2023-11-13 23:33:45.060 7673-7850 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-13 23:33:47.473 7673-7673 AppCenterDistribute io.ionic.starter D There is no need to request permissions in runtime on Android earlier than 6.0.
2023-11-13 23:33:47.473 7673-7673 AppCenterDistribute io.ionic.starter D Schedule download...
2023-11-13 23:33:47.474 7673-7864 AppCenterDistribute io.ionic.starter D Start downloading new release from https://appcenter-filemanagement-distrib5ede6f06e.azureedge.net/e04a14e6-0e35-456b-b00f-bb29a2efcd31/app-release.apk?sv=2019-02-02&sr=c&sig=zf0QvSoH5G8TjWMoY9wgV%2FeUZtBkL%2BvdSlLSdC8Wms0%3D&se=2023-11-14T15%3A33%3A44Z&sp=r
2023-11-13 23:33:47.510 7673-7864 AppCenterDistribute io.ionic.starter D Start download 0.0.6 (6) update.
2023-11-13 23:33:48.071 7673-7835 AppCenter io.ionic.starter D triggerIngestion(group_analytics) pendingLogCount=1
2023-11-13 23:33:48.071 7673-7835 AppCenter io.ionic.starter D Trying to get 1 logs from the Persistence database for group_analytics
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D Returning 1 log(s) with an ID, 7e8f4078-5999-4687-af66-9a4276175356
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D The SID/ID pairs for returning log(s) is/are:
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D 9a8d9fac-d1bc-4987-8398-40743b4f2679 / 11
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D ingestLogs(group_analytics,7e8f4078-5999-4687-af66-9a4276175356) pendingLogCount=0
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D checkPendingLogs(group_analytics) pendingLogCount=0 batchTimeInterval=6000
2023-11-13 23:33:48.073 7673-7835 AppCenter io.ionic.starter D The timer for group_analytics channel finished.
2023-11-13 23:33:48.074 7673-7864 AppCenter io.ionic.starter V Calling https://in.appcenter.ms/logs?api-version=1.0.0...
2023-11-13 23:33:48.074 7673-7864 AppCenter io.ionic.starter V Headers: {Install-ID=6a4611e7-66f7-45fa-9de8-570a834f0f04, App-Secret=****************************2e76e499, Content-Type=application/json}
2023-11-13 23:33:48.075 7673-7864 AppCenter io.ionic.starter V {
"logs": [
{
"type": "startSession",
"timestamp": "2023-11-13T15:33:42.055Z",
"sid": "9a8d9fac-d1bc-4987-8398-40743b4f2679",
"distributionGroupId": "fa643005-9860-4fd4-bee7-18583e42291a",
"device": {
"sdkName": "appcenter.android",
"sdkVersion": "5.0.2",
"model": "sdk_gphone_arm64",
"oemName": "Google",
"osName": "Android",
"osVersion": "11",
"osBuild": "RSR1.210722.013.A6",
"osApiLevel": 30,
"locale": "en_US",
"timeZoneOffset": 480,
"screenSize": "1080x2028",
"appVersion": "0.0.5",
"carrierName": "Android",
"carrierCountry": "us",
"appBuild": "5",
"appNamespace": "io.ionic.starter"
}
}
]
}
2023-11-13 23:33:48.075 7673-7864 CapacitorCookies io.ionic.starter I Getting cookies at: 'https://in.appcenter.ms/logs?api-version=1.0.0'
2023-11-13 23:33:55.483 7673-7673 AppCenter io.ionic.starter W Try #1 failed and will be retried in 7878 ms
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:119)
at java.net.SocketInputStream.read(SocketInputStream.java:176)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(ConscryptEngineSocket.java:936)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:900)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(ConscryptEngineSocket.java:722)
at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:238)
at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:217)
at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doHttpCall(DefaultHttpClientCallTask.java:226)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:279)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:48)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
2023-11-13 23:33:57.526 7673-7850 AppCenterDistribute io.ionic.starter D Removing download and notification id=17
2023-11-13 23:33:57.562 7673-7850 AppCenterDistribute io.ionic.starter E Failed to download update id=-1
java.lang.IllegalStateException: Failed to start downloading file due to timeout exception.
at com.microsoft.appcenter.distribute.download.manager.DownloadManagerCancelPendingTask.doInBackground(DownloadManagerCancelPendingTask.java:33)
at com.microsoft.appcenter.distribute.download.manager.DownloadManagerCancelPendingTask.doInBackground(DownloadManagerCancelPendingTask.java:15)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
2023-11-13 23:33:57.562 7673-7850 AppCenterDistribute io.ionic.starter E Failed to download 0.0.6 (6) update: Failed to start downloading file due to timeout exception.
2023-11-13 23:33:57.575 7673-7673 AppCenterDistribute io.ionic.starter D Complete current updating process.
2023-11-13 23:33:57.576 7673-7673 AppCenterDistribute io.ionic.starter V Receive broadcast action: android.intent.action.DOWNLOAD_COMPLETE
2023-11-13 23:33:57.577 7673-7850 AppCenterDistribute io.ionic.starter D Check download id=17
2023-11-13 23:33:57.577 7673-7850 AppCenterDistribute io.ionic.starter D Ignoring download identifier we didn't expect, id=17
@LennonReid, can you provide the verbose logs from your sdk (ensure you're on the latest version, 5.0.3) when the update fails? Also, how big is your apk?
Hello @DmitriyKirakosyan, I apologize for not including more detailed information previously. Per your request, I have now provided verbose logging from my latest testing cycle.
@LennonReid, your effort in uncovering the root cause is greatly appreciated! We encountered a similar problem previously, although it stemmed from a distinct error. See: https://github.com/microsoft/appcenter-sdk-dotnet/issues/1633 https://github.com/microsoft/appcenter-sdk-dotnet/issues/1634
The earlier issue was resolved by implementing a fallback to a different installer when a specific error message was encountered, as seen here: https://github.com/microsoft/appcenter-sdk-android/pull/1631.
From my understanding of your situation, it seems a different error, potentially related to MIUI optimizations, is at play.
@LennonReid, could you describe the extent of inconvenience caused by disabling the MIUI optimizations? This information will help in evaluating the severity of the issue and in determining its priority for resolution.
Additionally, it would be great if you could create a new issue for this, given that the root cause differs from the original case.
@DmitriyKirakosyan, thank you for your valuable insights and for pointing out the similarities to previous issues. I've reviewed the referenced issues and understand that the problem we're facing is indeed distinct.
In response to your query regarding the inconvenience caused by disabling MIUI optimizations, I can confirm that it disrupts some of the device's performance enhancements and battery optimizations. While it doesn't render the device unusable, it does introduce some noticeable drawbacks for users who rely on these features.
I've already created a new issue for this specific problem on https://github.com/microsoft/appcenter-sdk-android/issues/1714. I'll continue to provide updates and engage in the discussion there.
Thank you again for your assistance in investigating this matter.
As we do not have plans to fix this bug in the next year, I'm closing the issue.
Description
Fail to install update after successful download, no error whatsoever in the logs.
Repro Steps
Update
Details